parasoft:soatest

Description:

SOAtest execution task

Attributes

NameTypeDescription
centrasitebooleanReport test results to the Software AG CentraSite Active SOA registry
cleanbooleanPass clean to the command line client Default value is: true
configStringSpecifies test configuration (ie. config=source://configuration)
dataFileSpecifies the location of the workspace directory to use Default value is temporary directory
dataSourceNameStringRuns tests with the specified data source
dataSourceRowStringRuns tests with a single data source row
environmentStringSpecifies environment options
failOnViolationbooleanFail the build by returning a non-zero exit code if any violations are reported
ignoreErrorsbooleanSet to true if you don't want to kill the build when an error occurs
importArgumentStringArgument for the -import option Default value is: "."
initjythonbooleanInstaller option
installcertificatebooleanInstaller option
localsettingsFileReads the local setting file for global preferences, such as Report Center, email, and Team Server settings Default value is: $basedir/localsettings.properties
noImportbooleanSkip the workspace import stage Default value is: false
nobuildbooleanPrevents rebuilding the project before testing it
prefsStringReads the preference URL to import Eclipse workspace preferences
publishbooleanPublishes the reports to the Team Server
qualityCenterStringReport test results to HP Quality Center
qualityCenterReportAllTrafficbooleanReport test results to HP Quality Center
refreshbooleanPerforms an Eclipse refresh of the entire workspace Default value is: true
reportStringRelative path to destination for report file Default value is: "report/parasoft/test.html"
routerStringSpecifies search and replace arguments
showdetailsbooleanPrints detailed test progress information
skipbooleanSkip Parasoft Test
soatestHomeStringSpecifies home directory of SOAtest
soatestSkipbooleanSkips SOAtest execution
soatestTimeoutlongTimeout in seconds Default value is: 1800
startStubServerbooleanStarts the stub server
testStringAdd this pattern to the includes list, useful for debugging tests
testManagerbooleanReport test results to Rational TestManager
testManagerVerbosebooleanReport test results to Rational TestManager
testNameStringSpecifies test name patterns
uninstallcertificatebooleanInstaller option
visualStudioStringReport test results to Microsoft Visual Studio Team System

Attributes as nested elements

excludeStringSpecifies packages and classes to be excluded during testing
importStringArgument for the -import option
includeStringSpecifies the packages and classes to be included during testing
projectDescriptionProjectDescriptionProjects to test
resourceStringSpecifies the path to the workspace resource to test

Parameter Details


resource:

Specifies the path to the workspace resource to test

  • Type: java.util.List
  • Required: No
Example
---
  <parasoft:soatest>
    <resource>Project1</resource>
    <resource>Project2</resource>
  </parasoft:soatest>
---

import:

Specifies location of the project(s) to be imported, allows multiple projects to be imported separately

  • Type: String
  • Required: No
Example
---
  <parasoft:soatest>
    <import>src/project1/import>
    <import>src/project2</import>
  </parasoft:soatest>
---

includes:

Specifies packages and classes to be included during testing

  • Type: String
  • Required: No
Example
---
  <parasoft:soatest>
    <include>org/example/**/MyClass</include>
    <include>org/example/**/MyUtilClass</include>
  </parasoft:soatest>
---

excludes:

Specifies packages and classes to be excluded during testing

  • Type: java.util.List
  • Required: No
Example
---
  <parasoft:soatest>
    <exclude>org/example/**/MyClass</exclude>
    <exclude>org/example/**/MyUtilClass</exclude>
  </parasoft:soatest>
---

projectDescription:

Projects to test

  • Type: ProjectDescription

    Attributes

    • basedir, directory of the project root
    • name, optional name of the project, defaults to directory name of basedir
    • overwrite, overwrite existing eclipse project files
  • Required: No
Example
---
  <parasoft:soatest>
    <projectDescription basedir="src/proj1" name="MyProject"/>
  </parasoft:soatest>
---