summaryrefslogtreecommitdiffstats
path: root/phpunit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml23
1 files changed, 22 insertions, 1 deletions
diff --git a/phpunit.xml b/phpunit.xml
index 07f5a195d..2ae7ba3b8 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -1,6 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<phpunit bootstrap="tests/Bootstrap.php" colors="true">
+<phpunit
+ bootstrap="tests/Bootstrap.php"
+ colors="true"
+ convertNoticesToExceptions="true"
+ convertWarningsToExceptions="true"
+ stopOnError="false"
+ stopOnFailure="false"
+ stopOnIncomplete="false"
+ stopOnSkipped="false">
<testsuites>
<testsuite name="CodeIgniter Core Test Suite">
<file>tests/codeigniter/Setup_test.php</file>
@@ -14,4 +22,17 @@
</testsuite>
</testsuites>
+ <filters>
+ <blacklist>
+ <directory suffix=".php">PEAR_INSTALL_DIR</directory>
+ <directory suffix=".php">PHP_LIBDIR</directory>
+ <directory suffix=".php">PROJECT_BASE.'tests'</directory>
+ <directory suffix=".php">'../system/core/CodeIgniter.php'</directory>
+ </blacklist>
+ <whitelist>
+ <!--
+ <directory suffix=".php">'../system/core'</directory>
+ -->
+ </whitelist>
+ </filters>
</phpunit> \ No newline at end of file