ABLUnit - niandy/pct GitHub Wiki
Run an ABLUnit tests sequence. For further information, refer to the progress documentation.
<pct:ABLUnit />
Attribute | Description | Default value |
---|---|---|
destDir | Directory where to put result file. Don't use destDir under Linux, as a bug prevents results.xml from being generated | Base directory |
writeLog | Creates ablunit.log in temp directory in case of error |
False |
haltOnFailure | Stop the build process if a test fails (errors are considered failures as well) | False |
† Only one of those attributes is mandatory ‡ Mandatory attribute
ABLUnit inherits attributes from PCT and PCTRun.
Support the standard Ant Fileset to get a set of test files.
<ABLUnit>
<fileset dir="src" includes="**/*.p" />
<fileset dir="src2" includes="**/*.cls" />
<propath>
<pathelement path="src" />
<pathelement path="src2" />
<!-- When running on OE up to 11.3, don't forget to include ablunit.pl and OpenEdge.Core.pl in your propath
<pathelement location="/path/to/ablunit.pl" />
<pathelement location="/path/to/OpenEdge.Core.pl" /> -->
</propath>
</ABLUnit>