tims-todo/tests/phpunit.xml

41 lines
1.2 KiB
XML
Raw Permalink Normal View History

2014-08-08 15:41:59 -04:00
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
stopOnFailure="false"
2014-08-08 15:41:59 -04:00
bootstrap="bootstrap.php">
<php>
<server name="SERVER_NAME" value="http://example.com" />
<server name="REMOTE_ADDR" value="127.0.0.1" />
<server name="HTTP_USER_AGENT" value="PHPUnit" />
</php>
<filter>
<whitelist>
<directory suffix=".php">../application/controllers</directory>
<directory suffix=".php">../application/core</directory>
<directory suffix=".php">../application/libraries</directory>
<directory suffix=".php">../application/models</directory>
<directory suffix=".php">../application/helpers</directory>
</whitelist>
2014-08-08 15:41:59 -04:00
</filter>
<testsuites>
<testsuite name="ControllerTests">
<directory suffix=".php">controllers</directory>
</testsuite>
<testsuite name="ExtensionTests">
<directory suffix=".php">core</directory>
</testsuite>
<testsuite name="HelperTests">
<directory suffix=".php">helpers</directory>
</testsuite>
<testsuite name="LibTests">
<directory suffix=".php">libs</directory>
</testsuite>
<testsuite name="ModelTests">
<directory suffix=".php">models</directory>
</testsuite>
<testsuite name="SystemTests">
<directory suffix=".php">system</directory>
</testsuite>
</testsuites>
</phpunit>