mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 01:23:08 +08:00
4f1adba387
- Use provided PhpUnit listener to enforce verification of expectations. - Include Mockery's trait to auto-close Mockery after each test.
26 lines
777 B
XML
26 lines
777 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">
|
|
|
|
<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>
|
|
<listeners>
|
|
<listener class="\Mockery\Adapter\Phpunit\TestListener"></listener>
|
|
</listeners>
|
|
</phpunit>
|