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

ssoloff / jedit-git-dirty-gutter-plugin / 94
87%

Build:
DEFAULT BRANCH: master
Ran 03 Feb 2016 07:36PM UTC
Jobs 1
Files 24
Run time 2s
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
94

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

Jobs
ID Job ID Ran Files Coverage
1 94.1 03 Feb 2016 07:36PM UTC 0
87.27
Travis Job 94.1
Source Files on build 94
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #94
  • f4037b70 on github
  • Prev Build on master (#93)
  • Next Build on master (#95)
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