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

se-edu / addressbook-level4 / 3883 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 28 Dec 2017 07:28AM UTC
Files 93
Run time 3s
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

28 Dec 2017 07:24AM UTC coverage: 92.492%. Remained the same
3883.1

push

travis-ci

pyokagan
build.gradle: teach test tasks to work together

The allTests, nonGuiTests, guiTests tasks are implemented as separate
tasks which are unaware of whether each other is being run. This leads
to strange behavior such as the following command which runs some tests
multiple times:

    ./gradlew allTests nonGuiTests guiTests

These tasks are also not integrated with the `test` task, which is
provided by default by the `java` plugin. This is the de facto task for
running tests, and is run by default by other commonly-used tasks such
as `./gradlew check` and `./gradlew build`.

Fix this by making all of these tasks aware of each other. The `test`
task is configured to be *the* task that runs the tests, while the
nonGuiTests and guiTests tasks are converted to dummy tasks which just
serve to inform the `test` task of whether to run the GUI tests or not.

Everything works as normal, except that now
`./gradlew allTests nonGuiTests guiTests` will have the expected result
of running all tests only once. Other task combinations, such as
`./gradlew headless test` and `./gradlew headless check` now also have
the correct behavior of running tests in headless mode.

1466 of 1585 relevant lines covered (92.49%)

0.92 hits per line

Source Files on job 3883.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3883
  • Travis Job 3883.1
  • ab7a0601 on github
  • Prev Job for on master (#3878.1)
  • Next Job for on master (#3908.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