Skip to content
Browse files

BUGFIX Fixing including of thirdparty tests when using phpunit.xml

(requires PHPUnit 3.6, so marking that as the minimum requirement in
comments)
  • Loading branch information...
1 parent 5cd1253 commit 21dda5f304aac7c99f704d43daed2972ce48fd92 @halkyon halkyon committed May 9, 2012
Showing with 9 additions and 8 deletions.
  1. +9 −8 phpunit.xml.dist
View
17 phpunit.xml.dist
@@ -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,14 +16,12 @@
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>
<blacklist>
<directory suffix=".php">framework/dev/</directory>
@@ -28,16 +30,15 @@
<file>framework/tests/PhpSyntaxTest.php</file>
</blacklist>
</filter>
-
+
<listeners>
<listener class="SS_TestListener" file="framework/dev/TestListener.php">
</listener>
</listeners>
-
+
<groups>
<exclude>
<group>sanitychecks</group>
</exclude>
</groups>
-
</phpunit>

0 comments on commit 21dda5f

Please sign in to comment.
Something went wrong with that request. Please try again.