Example

<simpletest>
  <formatter type="plain"/>
  <fileset dir="tests">
    <include name="**/*Test*.php"/>
    <exclude name="**/Abstract*.php"/>
  </fileset>
</simpletest>

Runs all matching testcases in the directory tests, writing plain text results to the console.

<simpletest haltonfailure="true" haltonerror="true">
  <formatter type="plain" usefile="false"/>
  <fileset dir="tests">
    <include name="**/*Test*.php"/>
  </fileset>
</simpletest>

Runs all matching testcases in the directory tests, writing plain text results to the console. The build process is aborted if a test fails.