BUGFIX Fixing including of thirdparty tests when using phpunit.xml

(requires PHPUnit 3.6, so marking that as the minimum requirement in
comments)
This commit is contained in:
Sean Harvey 2012-05-09 22:33:22 +12:00
parent 5cd1253ab8
commit 21dda5f304
1 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,8 @@
<!--
PHPUnit configuration for SilverStripe
Requires PHPUnit 3.6+
Usage:
- "phpunit": Runs all tests in all folders
- "phpunit framework/tests/": Run all tests of the framework module
@ -12,12 +16,10 @@
for more information on configuration and execution options.
- framework/dev/TestRunner.php for an alternative way to run unit tests through the "sake" CLI tool.
-->
<phpunit
bootstrap="framework/tests/bootstrap.php"
colors="true"
>
<phpunit bootstrap="framework/tests/bootstrap.php" colors="true">
<testsuite name="Default">
<directory>./</directory>
<exclude>framework/thirdparty/</exclude>
</testsuite>
<filter>
@ -39,5 +41,4 @@
<group>sanitychecks</group>
</exclude>
</groups>
</phpunit>