Skip to content

Commit

Permalink
Created phpunit.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
divineniiquaye committed May 21, 2020
1 parent 7d9af13 commit 68dd9af
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ before_script:
script:
- stty cols 120
- mkdir -p build/logs
- vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover clover.xml
- vendor/bin/phpunit -c phpunit.xml --coverage-clover clover.xml

after_script:
- if [ "$SCRUTINIZER" == 1 ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format php-clover coverage.xml; fi
26 changes: 26 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="Tests/bootstrap.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
stopOnError="false"
>

<testsuites>
<testsuite name="Routes, RESTFull, URI generation">
<directory>./Tests/</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>
</phpunit>

0 comments on commit 68dd9af

Please sign in to comment.