Skip to content

Commit

Permalink
Updated phpunit config.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoody committed Jan 16, 2015
1 parent 8d1ef56 commit 2a56386
Showing 1 changed file with 27 additions and 7 deletions.
34 changes: 27 additions & 7 deletions phpunit-mysql.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?>
<phpunit bootstrap="./phpunit.php">

<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="true">
<testsuites>
<testsuite name="Mock Data Generator Test Suite">
<directory suffix="Tests.php">./tests</directory>
</testsuite>
</testsuites>

<testsuite name="Mock Data Generator Test Suite">
<directory suffix="Tests.php">./tests</directory>
</testsuite>
</testsuites>

<filter>
<blacklist>
<directory>./vendor</directory>
</blacklist>
<whitelist>
<directory suffix=".php">src</directory>
<exclude>
<file>./src/Models/Database.php</file>
</exclude>
</whitelist>
</filter>

<php>
<env name="dsn" value="mysql://root:root@localhost/mock"/>
</php>
Expand Down

0 comments on commit 2a56386

Please sign in to comment.