...
- Ensure that the Jtest Plugin for Gradle is set up (Configuring the Jtest Plugin for Gradle).
Execute Gradle tasks in the following order:
- thetest
(orbuild
) task to ensure that unit tests are executed
- the jtest task
Your command line may resemble the following:Code Block gradle clean test jtest -Djtest.config="builtin://Unit Tests"
- Add the test (or build) task to your command line to execute unit tests.
- Execute jtest task.
- Execute the jtest-agent and jtest tasks Gradle. Your command line may resemble the following:
Anchor | ||||
---|---|---|---|---|
|
...
Jtest's coverage agent allows you to collect coverage data during manual or automated tests performed on a running application. See See Application Coverage for information about collecting application coverage with Jtest.