Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Ensure that the Jtest Plugin for Gradle is set up (Configuring the Jtest Plugin for Gradle).
  2. Execute Gradle tasks in the following order:
    - the test (or build) 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"
  3. Add the test (or build) task to your command line to execute unit tests.
  4. Execute jtest task.
  5. Execute the jtest-agent and jtest tasks Gradle. Your command line may resemble the following:

Anchor
coverage_gradle
coverage_gradle
Collecting Coverage for Unit Tests

...

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.

...