Skip to content

Commit

Permalink
Add phpunit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen-G committed Aug 16, 2017
1 parent 3173862 commit 8b33478
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"php" : "~5.6|~7.0"
},
"require-dev": {
"phpunit/phpunit" : "~6.0"
"phpunit/phpunit" : "~5.0|~6.0"
},
"autoload": {
"psr-4": {
Expand Down
18 changes: 18 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
>
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 8b33478

Please sign in to comment.