summaryrefslogtreecommitdiffstats
path: root/phpunit.xml
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-03-09 18:21:08 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-03-09 18:21:08 +0100
commit7dfee6f194dac87371d40872a94e20f572c0b200 (patch)
treecca16174d0a05a195c4d2f72c328f8e1ccad8755 /phpunit.xml
parent0f2cb79b976086cb73140c25f4c568e865177426 (diff)
parenta03cbc5d2d2747b48be47c6fdef51f338701c583 (diff)
Merge pull request #1055 from toopay/unit-tests
Unit tests
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