Permalink
Browse files

Convert tests from SimpleTest to PHPUnit

  • Loading branch information...
1 parent eb3b354 commit 07843df8f9b357f78886052e7c1d4ea6cc1d362f @lox lox committed Dec 20, 2012
Showing with 31 additions and 0 deletions.
  1. +31 −0 phpunit.xml.dist
View
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit
+ verbose="true"
+ bootstrap="vendor/autoload.php"
+ colors="true"
+>
+
+ <!-- Test suites to be run -->
+ <testsuites>
+ <testsuite name="ergo">
+ <directory suffix="Test.php">tests</directory>
+ </testsuite>
+ </testsuites>
+
+ <!-- Filters for code coverage reporting -->
+ <filter>
+ <whitelist>
+ <directory>./</directory>
+ <exclude>
+ <directory>./tests</directory>
+ <directory>./vendor</directory>
+ </exclude>
+ </whitelist>
+ </filter>
+
+ <!-- Test listeners -->
+ <listeners>
+ <listener class="\Mockery\Adapter\Phpunit\TestListener" file="vendor/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener.php"></listener>
+ </listeners>
+
+</phpunit>

0 comments on commit 07843df

Please sign in to comment.