parasoft:jtest

Full name:

Parasoft:maven-parasoft-plugin:3.13:jtest

Description:

JTest execution mojo

Attributes:

  • Requires a Maven 2.0 project to be executed.

Optional Parameters

Name Type Since Description
buildscript String -
clean boolean - Pass -clean to the command line client
Default value is: true.
config String -
Default value is: builtin://Demo Configuration.
data File -
exclude String - Specifies packages and classes to be excluded during testing delimited by commas
excludes List -
failOnViolation boolean - Fail the build by returning a non-zero exit code if any violations are reported
Default value is: false.
filters String -
ignoreErrors boolean - Set to true if you don't want to kill the build when an error occurs
Default value is: false.
importArgument String - Argument for the -import option
Default value is: ..
include String - Specifies packages and classes to be included during testing delimited by commas
includes List -
javaHome String -
jtestHome String -
jtestSkip boolean - Skips Jtest execution
Default value is: false.
jtestTimeout long - Timeout in seconds (default 30 minutes), use 0 for no timeout
Default value is: 1800.
localsettings File - Reads the local setting file for global preferences, such as Report Center, email, and Team Server settings
Default value is: ${project.basedir}/localsettings.properties.
noImport boolean - Skip the workspace import stage
Default value is: false.
nobuild boolean - Prevents rebuilding the project before testing it
Default value is: false.
prefs String -
project MavenProject - (no description)
publish boolean - Publishes the reports to the Team Server
Default value is: false.
report String - Relative path to destination for report file
Default value is: target/site/parasoft/test.html.
resources List -
showdetails boolean - Prints detailed test progress information
Default value is: false.
skip boolean - skip parasoft test
Default value is: false.
test String - Add this pattern to the includes list, usefull for debugging tests
vmargs List - Additional vm arguments to pass the jvm

Parameter Details

buildscript:

  • Type: java.lang.String
  • Required: No
  • Expression: ${parasoft.jtest.buildscript}

clean:

Pass -clean to the command line client
  • Type: boolean
  • Required: No
  • Expression: ${parasoft.clean}
  • Default: true

config:

  • Type: java.lang.String
  • Required: No
  • Expression: ${parasoft.config}
  • Default: builtin://Demo Configuration

data:

  • Type: java.io.File
  • Required: No
  • Expression: ${parasoft.data}

exclude:

Specifies packages and classes to be excluded during testing delimited by commas
  • Type: java.lang.String
  • Required: No
  • Expression: ${parasoft.excludes}

excludes:

  • Type: java.util.List
  • Required: No

failOnViolation:

Fail the build by returning a non-zero exit code if any violations are reported
  • Type: boolean
  • Required: No
  • Expression: ${parasoft.failOnViolation}
  • Default: false

filters:

  • Type: java.lang.String
  • Required: No
  • Expression: ${parasoft.jtest.filters}

ignoreErrors:

Set to true if you don't want to kill the build when an error occurs
  • Type: boolean
  • Required: No
  • Expression: ${parasoft.ignore_error}
  • Default: false

importArgument:

Argument for the -import option
  • Type: java.lang.String
  • Required: No
  • Expression: ${parasoft.import}
  • Default: .

include:

Specifies packages and classes to be included during testing delimited by commas
  • Type: java.lang.String
  • Required: No
  • Expression: ${parasoft.includes}

includes:

  • Type: java.util.List
  • Required: No

javaHome:

  • Type: java.lang.String
  • Required: No
  • Expression: ${parasoft.jtest.java.home}

jtestHome:

  • Type: java.lang.String
  • Required: No
  • Expression: ${parasoft.jtest.home}

jtestSkip:

Skips Jtest execution
  • Type: boolean
  • Required: No
  • Expression: ${parasoft.jtest.skip}
  • Default: false

jtestTimeout:

Timeout in seconds (default 30 minutes), use 0 for no timeout
  • Type: long
  • Required: No
  • Expression: ${parasoft.jtest.timeout}
  • Default: 1800

localsettings:

Reads the local setting file for global preferences, such as Report Center, email, and Team Server settings
  • Type: java.io.File
  • Required: No
  • Expression: ${parasoft.localsettings}
  • Default: ${project.basedir}/localsettings.properties

noImport:

Skip the workspace import stage
  • Type: boolean
  • Required: No
  • Expression: ${parasoft.noimport}
  • Default: false

nobuild:

Prevents rebuilding the project before testing it
  • Type: boolean
  • Required: No
  • Expression: ${parasoft.nobuild}
  • Default: false

prefs:

  • Type: java.lang.String
  • Required: No
  • Expression: ${parasoft.prefs}

project:

(no description)
  • Type: org.apache.maven.project.MavenProject
  • Required: No
  • Expression: ${project}

publish:

Publishes the reports to the Team Server
  • Type: boolean
  • Required: No
  • Expression: ${parasoft.publish}
  • Default: false

report:

Relative path to destination for report file
  • Type: java.lang.String
  • Required: No
  • Expression: ${parasoft.report}
  • Default: target/site/parasoft/test.html

resources:

  • Type: java.util.List
  • Required: No

showdetails:

Prints detailed test progress information
  • Type: boolean
  • Required: No
  • Expression: ${parasoft.showdetails}
  • Default: false

skip:

skip parasoft test
  • Type: boolean
  • Required: No
  • Expression: ${parasoft.skip}
  • Default: false

test:

Add this pattern to the includes list, usefull for debugging tests
  • Type: java.lang.String
  • Required: No
  • Expression: ${test}

vmargs:

Additional vm arguments to pass the jvm
  • Type: java.util.List
  • Required: No