...
- dotTEST or Jtest 10.4.0 or higher
- Coverage Agent Manager (CAM) or SOAtest
- Parasoft DTP
Application Coverage Workflow
...
Anchor | ||||
---|---|---|---|---|
|
The static coverage file will be is included in the a monitor.zip package that is generated during the build process by the Jtest Plugin for Maven, Gradle, or Ant.
- Add the
monitor
task or goal to your build command.Execute an appropriate command in the AUT's main directory:Maven
Code Block mvn package jtest:monitor
Gradle
Code Block gradle assemble jtest-monitor -I [INSTALL]/integration/gradle/init.gradle
Ant
Code Block ant -lib [INSTALL]/integration/ant/jtest-ant-plugin.jar -listener com.parasoft.Listener jtest-monitor
Info Ant requires all classes to be compiled before the monitor task is executed. Modify your project prior to the build and configure the task to ensure the correct sequence. The following example shows how the target can be configured:
<target name=
"jtest-monitor"
depends=
"compile"
>
<jtest:monitor/>
</target>
Maven
Code Block mvn package jtest:monitor
Gradle
Code Block gradle assemble jtest-monitor -I [INSTALL]/integration/gradle/init.gradle
Ant
Code Block ant -lib [INSTALL]/integration/ant/jtest-ant-plugin.jar -listener com.parasoft.Listener jtest-monitor
Info Ant requires all classes to be compiled before the monitor task is executed. Modify your project prior to the build and configure the task to ensure the correct sequence. The following example shows how the target can be configured:
<target name=
"jtest-monitor"
depends=
"compile"
>
<jtest:monitor/>
</target>
- Execute the build command in the AUT's main directory.
The location of the monitor.zip package that contains the
static_coverage.xml
file will be printed to the console. - Extract the contents of the monitor.zip package to the server machine.
...