Skip to content

Commit

Permalink
Update PHPUnit settings
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquemoody committed Jan 12, 2015
1 parent f7dac8e commit 698f354
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -14,7 +14,7 @@ before_script:
- phpenv rehash

script:
- make testdox
- vendor/bin/phpunit --configuration phpunit.xml.dist --colors

notifications:
irc:
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Expand Up @@ -24,5 +24,10 @@
"psr-4": {
"Respect\\": "library/Respect"
}
},
"autoload-dev": {
"psr-4": {
"Stubs\\": "tests/src/Stubs"
}
}
}
17 changes: 8 additions & 9 deletions tests/phpunit.xml → phpunit.xml.dist
@@ -1,22 +1,21 @@
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="bootstrap.php"
backupStaticAttributes="false"
cacheTokens="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
verbose="false">
<testsuites>
<testsuite>
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="false">
<directory>../library/Respect/</directory>
<whitelist>
<directory>library/</directory>
</whitelist>
</filter>
<testsuite name="Respect\Rest Test Suite">
<directory>.</directory>
</testsuite>
</phpunit>

42 changes: 0 additions & 42 deletions tests/bootstrap.php

This file was deleted.

0 comments on commit 698f354

Please sign in to comment.