Fetching contributors…
Cannot retrieve contributors at this time
43 lines (38 sloc) 1.4 KB
- "phpunit": Runs all tests in all folders
- "phpunit sapphire/tests/": Run all tests of the sapphire module
- "phpunit sapphire/tests/filesystem": Run all filesystem tests within the sapphire module
- "phpunit sapphire/tests/filesystem/FolderTest.php": Run a single test
- "phpunit <dash><dash>coverage-html assets/": Generate coverage report (replace <dash> with "-", requires xdebug)
Further information:
- for more commandline options.
for more information on configuration and execution options.
- sapphire/dev/TestRunner.php for an alternative way to run unit tests through the "sake" CLI tool.
<testsuite name="Default">
<directory suffix=".php">sapphire/dev/</directory>
<directory suffix=".php">sapphire/thirdparty/</directory>
<directory suffix=".php">cms/thirdparty/</directory>
<listener class="SS_TestListener" file="sapphire/dev/TestListener.php">