Description:
C++Test execution task
Name | Type | Description |
importArgument | String | Argument for the -import option Default value is: "." |
bdf | String | Creates C++test projects from build data files (.bdf). |
ccs | String | Creates projects from a TI Code Composer Studio project(s) |
dsp | String | Creates projects from a Microsoft Visual Studio 6.0 project file |
ewp | String | Creates projects from IAR Embedded Workbench projects |
gpj | String | Creates projects from Green Hills project |
hew | String | Creates projects from High-performance Embedded Workshop projects |
uv | String | Creates projects from Keil uVision3 projects |
vcp | String | Creates projects from Microsoft eMbedded Visual C++ 4.0 projects |
wpj | String | Creates projects from Wind River Tornado project |
Name | Type | Description |
buildscript | String | Executes the specified build script prior to any testing |
clean | boolean | Pass clean to the command line client Default value is: true |
config | String | Specifies test configuration (ie. config=source://configuration) |
data | File | Specifies the location of the workspace directory to use Default value is temporary directory |
failOnViolation | boolean | Fail the build by returning a non-zero exit code if any violations are reported |
filters | String | Allows the include and exclude parameters to be specified in a properties file |
ignoreErrors | boolean | Set to true if you don't want to kill the build when an error occurs |
cpptestHome | String | Specifies home directory of C++test |
cpptestSkip | boolean | Skips C++test execution |
cpptestTimeout | long | Timeout in seconds 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: $basedir/localsettings.properties |
noImport | boolean | Skip the workspace import stage Default value is: false |
nobuild | boolean | Prevents rebuilding the project before testing it |
prefs | String | Reads the preference URL to import Eclipse workspace preferences |
publish | boolean | Publishes the reports to the Team Server |
report | String | Relative path to destination for report file Default value is: "report/parasoft/test.html" |
showdetails | boolean | Prints detailed test progress information |
skip | boolean | Skip Parasoft Test |
solution | String | Specifies the location of the solution to use |
test | String | Add this pattern to the includes list, useful for debugging tests |
vs | String | Specifies which version of Visual Studio should be used. |
exclude | String | Specifies packages and classes to be excluded during testing |
import | String | Argument for the -import option |
include | String | Specifies the packages and classes to be included during testing |
projectDescription | ProjectDescription | Projects to test |
resource | String | Specifies the path to the workspace resource to test |
Specifies the path to the workspace resource to test
Example --- <parasoft:cpptest> <resource>Project1</resource> <resource>Project2</resource> </parasoft:cpptest> ---
Specifies location of the project(s) to be imported, allows multiple projects to be imported separately
Example --- <parasoft:cpptest> <import>src/project1/import> <import>src/project2</import> </parasoft:cpptest> ---
Specifies packages and classes to be included during testing
Example --- <parasoft:cpptest> <include>org/example/**/MyClass</include> <include>org/example/**/MyUtilClass</include> </parasoft:cpptest> ---
Specifies packages and classes to be excluded during testing
Example --- <parasoft:cpptest> <exclude>org/example/**/MyClass</exclude> <exclude>org/example/**/MyUtilClass</exclude> </parasoft:cpptest> ---
Projects to test
Attributes
Example --- <parasoft:cpptest> <projectDescription basedir="src/proj1" name="MyProject" /> </parasoft:cpptest> ---