The ProUnit task allows to run ProUnit test cases.
| Attribute | Description | Type | Requirement | Default value |
|---|---|---|---|---|
| project | Path to the XML file saved using ProUnit GUI version | File | Required | No default value |
| result | Path to the resulting execution file (XML) | File | Required | No default value |
| template | Template used to format the result file | String | Optional | No default value |
| verbose | Configures execution to be silent or to show execution progress and results | Boolean | Optional | False |
ProUnit inherits attributes from PCT and PCTRun.
None
<ProUnit project="sandbox/test.xml" result="sandbox/result.xml" dlcHome="${env.DLC}" template="default">
<propath>
<path location="${env.PROUNIT_HOME}" />
</propath>
</ProUnit>
Run the sandbox/test.xml testsuite, results are saved in sandbox/result.xml, with an header specifying the XSL template to apply.