• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

qrush / m / 75
0%

Build:
DEFAULT BRANCH: master
Ran 26 Apr 2015 10:31PM UTC
Jobs 3
Files 7
Run time 55s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
75

push

travis-ci

zamith
Extract a strategy for each supported framework into a proper file

This is a refactor that should not affect any public facing methods.
Handling different frameworks (or different versions of the same
framework) was becoming messy really fast. The conditionals for each of
them were scattered through the code. Thus, the solution was to use the
strategy pattern (almost), and abstract the differences into what I
called a runner.

The different runners could not be injected into the initializer as a
dependency, because at that point the testing framework is not yet
loaded, which means there is no way of knowing what runner to use. So,
it is lazy loaded, and only calculated when it is first used.

Removed the main Runner class from the M module file, in order to make it
simpler and easier to understand and reason about.

The framework runner class now uses instance methods instead of class
methods, mostly because of a personal preference, but also because I
feel it instance methods are more flexible, and easier to change.

104 of 126 relevant lines covered (82.54%)

2.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 75.1 (1.9.3) 26 Apr 2015 10:31PM UTC 0
82.54
Travis Job 75.1
2 75.2 (2.0.0) 26 Apr 2015 10:31PM UTC 0
82.54
Travis Job 75.2
3 75.3 (2.1.0) 26 Apr 2015 10:31PM UTC 0
82.54
Travis Job 75.3
Source Files on build 75
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #75
  • c4a5e3d1 on github
  • Prev Build on master (#74)
  • Next Build on master (#76)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc