Configure PHPUnit
This commit is contained in:
parent
fafddca637
commit
ebd4e202c2
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -47,3 +47,4 @@
|
||||||
|
|
||||||
/.editorconfig
|
/.editorconfig
|
||||||
/.gitattributes
|
/.gitattributes
|
||||||
|
/.phpunit.result.cache
|
||||||
|
|
14
phpunit.xml.dist
Normal file
14
phpunit.xml.dist
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<phpunit bootstrap="web/core/tests/bootstrap.php" colors="true">
|
||||||
|
<php>
|
||||||
|
<env name="SIMPLETEST_BASE_URL" value="http://localhost:8000"/>
|
||||||
|
<env name="SIMPLETEST_DB" value="sqlite://localhost//dev/shm/test.sqlite"/>
|
||||||
|
<ini name="error_reporting" value="32767"/>
|
||||||
|
<ini name="memory_limit" value="-1"/>
|
||||||
|
</php>
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Example tests">
|
||||||
|
<directory suffix="Test.php">./web/modules/**</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
</phpunit>
|
Loading…
Reference in a new issue