OEUnit - niandy/pct GitHub Wiki
Run an OEUnit tests sequence. For further informations, refer to OEUnit website.
Will run every tests from classes sent by a fileset and put results in a report file (xml,csv,txt).
<pct:OEUnit />
Attribute | Description | Default value |
---|---|---|
destDir ‡ | Directory where to put result file | Base directory |
format | Format of report file : JUnit, SureFire, CSV, Text | JUnit |
† Only one of those attributes is mandatory ‡ Mandatory attribute
Support the standard Ant Fileset to get a set of test classes. Can be test file or test suite.
<OEUnit destDir="test-reports" format="junit">
<fileset dir="src" includes="**/*.cls" />
<propath>
<pathelement path="src" />
<pathelement path="/path/to/OEUnit" />
</propath>
</OEUnit>