mirror of
https://github.com/flarum/framework.git
synced 2024-12-15 16:53:37 +08:00
64b25b26c3
Allows running tests without constantly running `composer install` on each extension.
29 lines
929 B
XML
29 lines
929 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
|
|
backupGlobals="false"
|
|
backupStaticAttributes="false"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
processIsolation="false"
|
|
stopOnFailure="false"
|
|
bootstrap="../../../php-packages/testing/bootstrap/monorepo.php"
|
|
>
|
|
<coverage processUncoveredFiles="true">
|
|
<include>
|
|
<directory suffix=".php">../src/</directory>
|
|
</include>
|
|
</coverage>
|
|
<testsuites>
|
|
<testsuite name="Flarum Unit Tests">
|
|
<directory suffix="Test.php">./unit</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<listeners>
|
|
<listener class="\Mockery\Adapter\Phpunit\TestListener" />
|
|
</listeners>
|
|
</phpunit>
|