Skip to content

Commit

Permalink
Move phpunit.xml to root folder of repo
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Nov 22, 2018
1 parent 13c9ab1 commit e5a6386
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pipeline:
secrets: [codecov_token]
pull: true
files:
- 'tests/unit/clover.xml'
- 'tests/output/clover.xml'
when:
local: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ nbproject
.DS_Store

tests/acceptance/output
tests/unit/clover.xml
tests/output/clover.xml
.php_cs.cache
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/unit/bootstrap.php"
verbose="true"
failOnWarning="true"
timeoutForSmallTests="900"
timeoutForMediumTests="900"
timeoutForLargeTests="900"
>
<testsuite name='unit'>
<directory suffix='Test.php'>./tests/unit</directory>
</testsuite>
<!-- filters for code coverage -->
<filter>
<whitelist>
<directory suffix=".php">.</directory>
<exclude>
<directory suffix=".php">./l10n</directory>
<directory suffix=".php">./tests</directory>
</exclude>
</whitelist>
</filter>
<logging>
<!-- and this is where your report will be written -->
<log type="coverage-clover" target="./tests/output/clover.xml"/>
</logging>
</phpunit>
27 changes: 0 additions & 27 deletions tests/unit/phpunit.xml

This file was deleted.

0 comments on commit e5a6386

Please sign in to comment.