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

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

Build:
Build:
LAST BUILD BRANCH: fix_remcache_path_vuln
DEFAULT BRANCH: main
Ran 08 Jul 2015 10:37PM UTC
Files 332
Run time 13s
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

08 Jul 2015 10:33PM UTC coverage: 66.904% (+0.02%) from 66.887%
CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'"

push

travis-ci

Garrett Malmquist
Added cwd argument to allow JavaTest targets to require particular working directories.

This allows the syntax:
```
junit_tests(name='tests',
  sources=globs('*.java'),
  dependencies=[...],
  cwd='my/cool/testing/working/directory',
)
```

junit_run.py now partitions tests by their working directory, before partitioning them by batch size.

Targets which don't have `cwd` set default to the working directory according to the original logic
in junit_run.py (that is, they either use the path to the first Target, or whatever's set by --test-junit-cwd).

Testing Done:
Added a test under testprojects/ to test cwd behavior.

CI went green here: https://travis-ci.org/pantsbuild/pants/builds/70124545

Bugs closed: 1772

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

13364 of 19975 relevant lines covered (66.9%)

0.67 hits per line

Source Files on job 5542.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5542
  • Travis Job 5542.3
  • ea32fd29 on github
  • Prev Job for CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'" on master (#5541.3)
  • Next Job for CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'" on master (#5545.3)
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