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

qrush / m / 75 / 2
0%
master: 0%

Build:
DEFAULT BRANCH: master
Ran 26 Apr 2015 10:31PM UTC
Files 7
Run time 1s
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

26 Apr 2015 10:29PM UTC coverage: 82.54%. Remained the same
2.0.0

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%)

0.83 hits per line

Source Files on job 75.2 (2.0.0)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 75
  • Travis Job 75.2
  • c4a5e3d1 on github
  • Prev Job for 2.0.0 on master (#74.2)
  • Next Job for 2.0.0 on master (#76.2)
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