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

box / ClusterRunner / 930 / 1
76%
master: 5%

Build:
Build:
LAST BUILD BRANCH: updatePublishing
DEFAULT BRANCH: master
Ran 07 Jul 2015 01:21AM UTC
Files 83
Run time 3s
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

07 Jul 2015 01:17AM UTC coverage: 75.877%. First build
TARGETS="lint test-unit-with-coverage"

push

travis-ci

josephharrington
Refactor and clean up tests for Build object

The Build class is the largest single class and the most complex object
in the application. Future planned refactorings will help this, but in
the meantime it is hard and usually verbose to create realistic build
objects for testing.

This change refactors some of the Build tests to use a build creation
helper that creates more realistic build objects. It has a side benefit
of making these tests more readable and maintainable.

The tradeoff is that these tests are now more "integration-y", but it
makes sense to move in this direction considering the complexity of the
Build class itself.

2573 of 3391 relevant lines covered (75.88%)

0.76 hits per line

Source Files on job 930.1 (TARGETS="lint test-unit-with-coverage")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 930
  • Travis Job 930.1
  • d67c3026 on github
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

© 2025 Coveralls, Inc