Skip to content
Gilles QUERRET edited this page May 16, 2016 · 9 revisions

ABLUnit task • <pct:ABLUnit />

Description

Run an ABLUnit tests sequence. For further information, refer to the progress documentation.

Parameters

Attribute Description Type Requirement Default value
destDir Directory where to put result file. Don't use destDir under Linux, as a bug prevents results.xml from being generated File Optional Base directory
writeLog Creates ablunit.log in temp directory in case of error Boolean Optional False
haltOnFailure Stop the build process if a test fails (errors are considered failures as well) Boolean Optional False

Parameters as nested elements

Support the standard Ant Fileset to get a set of test files.

Examples 1

<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>

Clone this wiki locally