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

ssoloff / jedit-git-dirty-gutter-plugin / 94 / 1
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 03 Feb 2016 07:36PM UTC
Files 24
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

03 Feb 2016 07:23PM UTC coverage: 87.269% (+14.4%) from 72.878%
94.1

push

travis-ci

ssoloff
Preinstrument classes used for acceptance tests

JaCoCo uses a hash of the class at runtime to uniquely identify each class.  The classes used for unit and integration tests have the same identifier because those tests use the class files from the source set output.  However, the acceptance tests use classes from the final distribution.  The classes in the distribution have been modified by the `shadow` plugin because we jarjar the dependencies.  Thus, the identifier for the classes used during acceptance testing differ from those used in unit/integration tests, which prevents us from merging coverage metrics from all three types of tests.

The solution employed in this change is to preinstrument the classes used for acceptance testing before they are jarjar'ed.  This prevents the JaCoCo runtime agent from calculating a different class identifier.  The downside is that we have to create two separate, but nearly identical, distributions: one for production and one for acceptance testing.  In the future, we will add some kind of verification task to ensure the two Jars are identical in all respects except file sizes.  In addition, we may add a separate smoke test task that runs a few acceptance tests directly against the production distribution.

473 of 542 relevant lines covered (87.27%)

0.87 hits per line

Source Files on job 94.1
  • Tree
  • List 0
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 94
  • Travis Job 94.1
  • f4037b70 on github
  • Prev Job for on master (#93.1)
  • Next Job for on master (#95.1)
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