Add phpunit.xml.dist
This commit is contained in:
parent
1a89b252d1
commit
3890a18611
1 changed files with 41 additions and 0 deletions
41
phpunit.xml.dist
Normal file
41
phpunit.xml.dist
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit
|
||||
beStrictAboutChangesToGlobalState="true"
|
||||
beStrictAboutOutputDuringTests="true"
|
||||
beStrictAboutTestsThatDoNotTestAnything="true"
|
||||
bootstrap="web/core/tests/bootstrap.php"
|
||||
cacheDirectory=".phpunit.cache"
|
||||
cacheResult="false"
|
||||
colors="true"
|
||||
displayDetailsOnTestsThatTriggerDeprecations="true"
|
||||
displayDetailsOnTestsThatTriggerErrors="true"
|
||||
displayDetailsOnTestsThatTriggerWarnings="true"
|
||||
failOnRisky="true"
|
||||
failOnWarning="true"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
|
||||
>
|
||||
<testsuites>
|
||||
<testsuite name="Test Suite">
|
||||
<directory suffix="Test.php">./web/modules/*/tests/src/*</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<php>
|
||||
<ini name="error_reporting" value="32767"/>
|
||||
<ini name="memory_limit" value="-1"/>
|
||||
<env name="BROWSERTEST_OUTPUT_BASE_URL" value=""/>
|
||||
<env name="MINK_DRIVER_ARGS" value=""/>
|
||||
<env name="MINK_DRIVER_ARGS_WEBDRIVER" value=""/>
|
||||
<env name="MINK_DRIVER_CLASS" value=""/>
|
||||
<env name="SIMPLETEST_BASE_URL" value="http://localhost:8000"/>
|
||||
<env name="SIMPLETEST_DB" value="sqlite://localhost//dev/shm/test.sqlite"/>
|
||||
</php>
|
||||
|
||||
<extensions>
|
||||
<bootstrap class="Drupal\TestTools\Extension\HtmlLogging\HtmlOutputLogger">
|
||||
<parameter name="outputDirectory" value="sites/simpletest/browser_output"/>
|
||||
<parameter name="verbose" value="true"/>
|
||||
</bootstrap>
|
||||
</extensions>
|
||||
</phpunit>
|
Loading…
Add table
Add a link
Reference in a new issue