Fetching contributors…
Cannot retrieve contributors at this time
34 lines (28 sloc) 1.03 KB
PHPUnit configuration for SilverStripe
Requires PHPUnit 3.5+
- "phpunit": Runs all tests in all folders
- "phpunit framework/tests/": Run all tests of the framework module
- "phpunit framework/tests/filesystem": Run all filesystem tests within the framework module
- "phpunit framework/tests/filesystem/FolderTest.php": Run a single test
- "phpunit <dash><dash>coverage-html assets/": Generate coverage report (replace <dash> with "-", requires xdebug)
More information:
<phpunit bootstrap="framework/tests/bootstrap.php" colors="true">
<testsuite name="Default">
<listener class="SS_TestListener" file="framework/dev/TestListener.php" />