...
- Add the
monitor
task or goal to your build command.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.
...
No Format |
---|
./soatestcli -config "/path/to/your/test-configuration/app-cov.properties" -data "/path/to/your/workspace" -resource "/path/to/your/tests/your_tests.tst" -localsettings "/path/to/your/localsettings/file/soatest-app-cov.properties" |
Step 5: (CAM only) Downloading Coverage and Test Results from CAM
...