mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
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:
parent
5cd1253ab8
commit
21dda5f304
@ -1,4 +1,8 @@
|
|||||||
<!--
|
<!--
|
||||||
|
PHPUnit configuration for SilverStripe
|
||||||
|
|
||||||
|
Requires PHPUnit 3.6+
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
- "phpunit": Runs all tests in all folders
|
- "phpunit": Runs all tests in all folders
|
||||||
- "phpunit framework/tests/": Run all tests of the framework module
|
- "phpunit framework/tests/": Run all tests of the framework module
|
||||||
@ -12,14 +16,12 @@
|
|||||||
for more information on configuration and execution options.
|
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.
|
- framework/dev/TestRunner.php for an alternative way to run unit tests through the "sake" CLI tool.
|
||||||
-->
|
-->
|
||||||
<phpunit
|
<phpunit bootstrap="framework/tests/bootstrap.php" colors="true">
|
||||||
bootstrap="framework/tests/bootstrap.php"
|
|
||||||
colors="true"
|
|
||||||
>
|
|
||||||
<testsuite name="Default">
|
<testsuite name="Default">
|
||||||
<directory>./</directory>
|
<directory>./</directory>
|
||||||
|
<exclude>framework/thirdparty/</exclude>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<blacklist>
|
<blacklist>
|
||||||
<directory suffix=".php">framework/dev/</directory>
|
<directory suffix=".php">framework/dev/</directory>
|
||||||
@ -28,16 +30,15 @@
|
|||||||
<file>framework/tests/PhpSyntaxTest.php</file>
|
<file>framework/tests/PhpSyntaxTest.php</file>
|
||||||
</blacklist>
|
</blacklist>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
||||||
<listeners>
|
<listeners>
|
||||||
<listener class="SS_TestListener" file="framework/dev/TestListener.php">
|
<listener class="SS_TestListener" file="framework/dev/TestListener.php">
|
||||||
</listener>
|
</listener>
|
||||||
</listeners>
|
</listeners>
|
||||||
|
|
||||||
<groups>
|
<groups>
|
||||||
<exclude>
|
<exclude>
|
||||||
<group>sanitychecks</group>
|
<group>sanitychecks</group>
|
||||||
</exclude>
|
</exclude>
|
||||||
</groups>
|
</groups>
|
||||||
|
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
Loading…
Reference in New Issue
Block a user