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

pantsbuild / pants / 5442 / 2
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: fix-changed-since-whitespace-23307
DEFAULT BRANCH: main
Ran 24 Jun 2015 08:03PM UTC
Files 331
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

24 Jun 2015 08:00PM UTC coverage: 67.219%. Remained the same
CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'"

push

travis-ci

Eric Ayers
Add a more verbose description of tests when running the -per-test-timer commnand. I have added this change to the PerClassConsoleListener and I have also changed the name to PerTestConsoleListener.

Testing Done:
When running the test command with the -per-test-timer option the user was shown a trail of dots. By adding the name of the specific test being ran there is a better description of the which tests are passing and which are not.

Input: ./pants test --test-junit-per-test-timer ./examples/tests/java::
Ouput:
```
                  [junit]
                    [run]
                     Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
                     Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0
                     Auto-detected 4 processors, using -parallel-threads=4
                     	checkDistanceExistence(org.pantsbuild.example.useproto.UseProtoTest)
                     	makeItRain(org.pantsbuild.example.usethrift.UseThriftTest)
                     	checkDistanceExistence(org.pantsbuild.example.useprotoimports.UseImportsTest)
                     	testExpression(org.pantsbuild.example.useantlr.Antlr4Test)
                     	veggieTest(org.pantsbuild.example.usejaxb.UseJaxbTest)
                     	checkTemperatureExistence(org.pantsbuild.example.usewire.UseWireTest)
                     	testExpression(org.pantsbuild.example.useantlr.Antlr3Test)
                     	mentionGreetee(org.pantsbuild.example.hello.greet.GreetingTest)
                     	mentionGreeteeFromResource(org.pantsbuild.example.hello.greet.GreetingTest)
                     	shouldSayHello(org.pantsbuild.example.hello.greet.GreetingTest)
```
Input: ./pants test --test-junit-per-test-timer ./examples/tests/java/org/pantsbuild/example::
Ouput:
```
                [junit]
                  [run]
                     Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
                     Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0
                     Auto-detected 4 processors, using -parallel-threads=4
                     	checkDistanceExistence(org.pantsbuild.example.useproto.UseProtoTest)
                     	makeItRain(org.pantsbuild.example.usethrift.UseThriftTest)
                     	checkDistanceExistence(org.pantsbuild.example.useprotoimports.UseImportsTest)
                     	testExpression(org.pantsbuild.example.useantlr.Antlr4Test)
                     	veggieTest(org.pantsbuild.example.usejaxb.UseJaxbTest)
                     	checkTemperatureExistence(org.pantsbuild.example.usewire.UseWireTest)
                     	testExpression(org.pantsbuild.example.useantlr.Antlr3Test)
                     	mentionGreetee(org.pantsbuild.example.hello.greet.GreetingTest)
                     	mentionGreeteeFromResource(org.pantsbuild.example.hello.greet.GreetingTest)
                     	shouldSayHello(org.pantsbuild.example.hello.greet.GreetingTest)
                     	testThatFails(org.pantsbuild.example.hello.greet.GreetingTest) -> FAILED

                     Time: 0.679
                     There was 1 failure:
                     1) testThatFails(org.pantsbuild.example.hello.greet.GreetingTest)
                         [Stack Trace of failure]

                     FAILURES!!!
                     Tests run: 11,  Failures: 1
```

Bugs closed: 1728

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

13355 of 19868 relevant lines covered (67.22%)

0.67 hits per line

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