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

pantsbuild / pants / 4533 / 3
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: fix-bsp-scalac-plugin-paths
DEFAULT BRANCH: main
Ran 20 Apr 2015 08:09PM UTC
Files 322
Run time 20s
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

20 Apr 2015 07:55PM UTC coverage: 69.169% (+0.003%) from 69.166%
CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'"

push

travis-ci

Benjy
Changes to zinc analysis split/merge test data generation:

- Fix various issues with the anonymizer.
- Add a mode to the test that causes it to generate canonical test data.
- Add copious comments on how to use all of the above.
- Replace the old test data tarball with loose test files that have
  non-ASCII content. Python tarfile doesn't play nicely with non-ASCII
  names (even with the pax format), so loose test files are easier.
  Git should compress them fine anyway.
- Made the test a little more comprehensive - it now verifies the merged
  analysis against an expected file.
- Made sure that split and merge don't leave dicts with empty values,
  as those create spurious diffs when comparing analyses that are
  semantically identical.

This change establishes that our split/merge logic is sound in the presence
of non-ascii file/class names in zinc analysis files.

TODO: Test that rebasing is similarly robust to non-ascii content.

Testing Done:
CI passes: https://travis-ci.org/pantsbuild/pants/builds/58981541

Reviewed at https://rbcommons.com/s/twitter/r/2095/

12981 of 18767 relevant lines covered (69.17%)

0.69 hits per line

Source Files on job 4533.3 (CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'")
  • Tree
  • List 0
  • Changed 7
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4533
  • Travis Job 4533.3
  • e4321d18 on github
  • Prev Job for CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'" on master (#4532.3)
  • Next Job for CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'" on master (#4534.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc