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:
parent
e98b5e44be
commit
5d703e34f3
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue