Skip to content

Commit dcf4714

Browse files
committed
Add default PHPUnit configuration
1 parent 4773e62 commit dcf4714

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ composer.phar
55
composer.lock
66
/vendor/
77
php.ini
8+
phpunit.xml

phpunit.xml.dist

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<phpunit
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.3/phpunit.xsd"
6+
backupGlobals="false"
7+
backupStaticAttributes="false"
8+
colors="true"
9+
convertErrorsToExceptions="true"
10+
convertNoticesToExceptions="true"
11+
convertWarningsToExceptions="true"
12+
stopOnFailure="false"
13+
syntaxCheck="false"
14+
bootstrap="vendor/autoload.php"
15+
>
16+
17+
<php>
18+
<ini name="error_reporting" value="-1"/>
19+
</php>
20+
21+
<testsuites>
22+
<testsuite name="MongoDB CRUD Test Suite">
23+
<directory>./tests/</directory>
24+
</testsuite>
25+
</testsuites>
26+
</phpunit>

0 commit comments

Comments
 (0)