Also allow test files ending in Test.php

This makes it possible to give test files proper PSR-2 names where the
file is named after the class name.
This commit is contained in:
Andreas Gohr 2018-05-20 11:56:24 +02:00
parent e98b5e44be
commit 5d703e34f3
1 changed files with 5 additions and 2 deletions

View File

@ -10,12 +10,15 @@
<testsuites>
<testsuite name="DokuWiki Tests">
<directory suffix=".test.php">tests/</directory>
<directory suffix="Test.php">tests/</directory>
</testsuite>
<testsuite name="Plugin Tests">
<directory suffix=".test.php">../lib/plugins/*/_test</directory>
<directory suffix=".test.php">../lib/plugins/*/_test/</directory>
<directory suffix="Test.php">../lib/plugins/*/_test/</directory>
</testsuite>
<testsuite name="Template Tests">
<directory suffix=".test.php">../lib/tpl/*/_test</directory>
<directory suffix=".test.php">../lib/tpl/*/_test/</directory>
<directory suffix="Test.php">../lib/tpl/*/_test/</directory>
</testsuite>
</testsuites>