\SilverStripeTestTask
Execute the SilverStripe test suite ala the phpunit task
- Author: marcus
Synopsis
class SilverStripeTestTask
extends SilverStripeBuildTask
{
- // members
- private string $module = '';
- private string $testcase = '';
- private boolean $doFlush = false;
- private boolean $doBuild = false;
- private boolean $coverage = false;
- // methods
- public void setModule()
- public void setTestCase()
- public void setFlush()
- public void setBuild()
- public void setCoverage()
- public void main()
- // Inherited methods from SilverStripeBuildTask
- protected void devBuild()
- protected string getInput()
- protected void exec()
- protected string formatWithColor()
Hierarchy
Extends
Members
private
- $coverage
- $doBuild
- $doFlush
- $module
- $testcase
Methods
public
- main() — The main entry point
- setBuild()
- setCoverage()
- setFlush()
- setModule()
- setTestCase()
Inherited from SilverStripeBuildTask
protected
- devBuild()
- exec()
- formatWithColor() — Formats a buffer with a specified ANSI color sequence if colors are enabled. (Taken from PHPUnit)
- getInput() — Get some input from the user