selenic:impacted-tests
Full name:
com.parasoft:selenic-maven-plugin:1.0.0:impacted-tests
Description:
Scans an application and analyzes a baseline coverage report to execute unit tests impacted by code changes.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase:
process-test-classes.
Required Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<app> |
File |
- |
Specifies the local file that contains binaries of the application under test (AUT). You can specify the path to a folder or a .war, .jar, .zip, or .ear file. User Property: selenic.coverage.binaries |
<baseline> |
File |
- |
Specifies the XML coverage report to use as the baseline. User Property: selenic.coverage.baseline |
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<excludes> |
List<String> |
- |
Specifies patterns to exclude elements during AUT scanning. It matches fully qualified names of classes given in the form of ANT path patterns: User Property: selenic.coverage.binaries.excludes |
<includes> |
List<String> |
- |
Specifies patterns to include elements during AUT scanning. By default all elements are accepted. It matches fully qualified names of classes given in the form of ANT path patterns: User Property: selenic.coverage.binaries.includes |
<properties> |
Map<String,String> |
- |
Allows you to configure settings directly. Settings passed with this parameter will overwrite those with the same key that are specified using the |
<selenicHome> |
File |
- |
Specifies the location of the Parasoft Selenic installation. Default: ${env.SELENIC_HOME}User Property: selenic.home |
<settings> |
File |
- |
Specifies the path to the .properties file that includes custom configuration settings. Use the selenic.properties file in the Selenic home if not specified here. User Property: selenic.settings |
<showdetails> |
boolean |
- |
Increases output verbosity. Default: falseUser Property: selenic.coverage.showdetails |
<vmArgs> |
List<String> |
- |
Specifies additional JVM options. Example:
User Property: selenic.coverage.vmargs |
Parameter Details
<app>
- Type:
java.io.File - Required:
report.plugin.goal.yes - User Property:
selenic.coverage.binaries
<baseline>
- Type:
java.io.File - Required:
report.plugin.goal.yes - User Property:
selenic.coverage.baseline
<excludes>
Specifies patterns to exclude elements during AUT scanning. It matches fully qualified names of classes given in the form of ANT path patterns:
<excludes>
<exclude>**/*Logger</exclude>
<exclude>com/moduleone/**</exclude>
</excludes>- Type:
java.util.List<java.lang.String> - Required:
report.plugin.goal.no - User Property:
selenic.coverage.binaries.excludes
<includes>
Specifies patterns to include elements during AUT scanning. By default all elements are accepted. It matches fully qualified names of classes given in the form of ANT path patterns:
<includes>
<include>com/moduleone/**</include>
<include>com/moduletwo/runtime/*</include>
</includes>- Type:
java.util.List<java.lang.String> - Required:
report.plugin.goal.no - User Property:
selenic.coverage.binaries.includes
<properties>
Allows you to configure settings directly. Settings passed with this parameter will overwrite those with the same key that are specified using the settings parameter. Example:
<properties>
<report.dtp.publish>true</report.dtp.publish>
<console.verbosity.level>high</console.verbosity.level>
</properties>- Type:
java.util.Map<java.lang.String, java.lang.String> - Required:
report.plugin.goal.no
<selenicHome>
- Type:
java.io.File - Required:
report.plugin.goal.no - User Property:
selenic.home - Default:
${env.SELENIC_HOME}
<settings>
- Type:
java.io.File - Required:
report.plugin.goal.no - User Property:
selenic.settings
<showdetails>
- Type:
boolean - Required:
report.plugin.goal.no - User Property:
selenic.coverage.showdetails - Default:
false
<vmArgs>
<vmArgs>
<vmArg>-Xmx2g</vmArg>
</vmArgs>- Type:
java.util.List<java.lang.String> - Required:
report.plugin.goal.no - User Property:
selenic.coverage.vmargs
