classes/phing/tasks/ext/simpletest/SimpleTestTask.php
\SimpleTestTask
Runs SimpleTest tests.
Use {@link Project#createTask} to register a new Task.
- Extends from
- \Task
- author
- Michiel Rook
- copyright
- 2001,2002 THYRELL. All rights reserved
- package
- phing.tasks.ext.simpletest
- since
- 2.2.0
- version
- $Id: SimpleTestTask.php 1098 2011-05-18 09:26:45Z mrook $
Properties
Methods

addFileSet(
\FileSet $fileset
)
:
Add a new fileset containing the XML results to aggregate
| Name | Type | Description |
|---|---|---|
| $fileset | \FileSet | the new fileset containing XML results. |

addFormatter(
\SimpleTestFormatterElement $fe
)
:
Add a new formatter to all tests of this task.
| Name | Type | Description |
|---|---|---|
| $fe | \SimpleTestFormatterElement | formatter element |

getFilenames(
)
:
arrayIterate over all filesets and return the filename of all files
that end with .php.
| Type | Description |
|---|---|
| array |

init(
)
:
Initialize Task.
This method includes any necessary SimpleTest libraries and triggers appropriate error if they cannot be found. This is not done in header because we may want this class to be loaded w/o triggering an error.