Skip to content

Commit

Permalink
ENHANCEMENT: phpunit file for this module
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonbanderson committed Dec 26, 2015
1 parent 692731f commit fae0627
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions phpunit.xml
@@ -0,0 +1,41 @@
<!--
PHPUnit configuration for SilverStripe
Requires PHPUnit 3.5+
Usage:
- "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:
- http://www.phpunit.de/manual/current/en/textui.html
- http://doc.silverstripe.org/framework/en/topics/testing/#configuration
It is safe to remove this file for normal website operation.
-->
<phpunit bootstrap="../framework/tests/bootstrap.php" colors="true">

<testsuite name="SilverStripe ShortCode YouTube">
<directory>../silverstripe-shortcode-youtube/tests</directory>
</testsuite>

<listeners>
<listener class="SS_TestListener" file="framework/dev/TestListener.php" />
</listeners>

<groups>
<exclude>
<group>sanitychecks</group>
</exclude>
</groups>

<filter>
<whitelist>
<directory>../silverstripe-shortcode-youtube</directory>
</whitelist>
</filter>

</phpunit>

0 comments on commit fae0627

Please sign in to comment.