mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 08:13:39 +08:00
ba16ebe61f
- Move to separate directory (base for a separate test suite) - Inherit directly from PhpUnit - Configure test suite with dedicated XML file
24 lines
697 B
XML
24 lines
697 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<phpunit backupGlobals="false"
|
|
backupStaticAttributes="false"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
processIsolation="false"
|
|
stopOnFailure="false"
|
|
syntaxCheck="false">
|
|
|
|
<testsuites>
|
|
<testsuite name="Flarum Unit Tests">
|
|
<directory suffix="Test.php">./unit</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<filter>
|
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
|
<directory suffix=".php">./src/</directory>
|
|
</whitelist>
|
|
</filter>
|
|
</phpunit>
|