-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
44 lines (44 loc) · 1.88 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
44 lines (44 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
bootstrap="tests/bootstrap.php"
beStrictAboutTestsThatDoNotTestAnything="false"
colors="true"
defaultTimeLimit="60"
enforceTimeLimit="true"
failOnRisky="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
backupStaticProperties="false"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnTestsThatTriggerNotices="true">
<testsuites>
<testsuite name="Hypervel Packages Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<extensions>
<bootstrap class="Hypervel\Testing\PHPUnit\AfterEachTestExtension" />
<bootstrap class="Hypervel\Testing\PHPUnit\SlowTestExtension">
<parameter name="threshold" value="0.3"/>
</bootstrap>
</extensions>
<php>
<ini name="error_reporting" value="-1"/>
<ini name="display_errors" value="on"/>
<ini name="display_startup_errors" value="on"/>
<ini name="memory_limit" value="1024M"/>
<server name="HYPERVEL_PARALLEL_TESTING" value="1"/>
<!--
Pin terminal dimensions so Symfony Console never shells out to `stty`
to detect them. Each test runs console output inside a Swoole coroutine
with SWOOLE_HOOK_ALL, which hooks proc_open/proc_close; under ParaTest's
concurrent worker processes that hooked subprocess wait can deadlock in
the reactor (SIGCHLD/child-reaping race), hanging an arbitrary test.
A headless test runner has no real terminal anyway.
-->
<env name="COLUMNS" value="80" force="true"/>
<env name="LINES" value="24" force="true"/>
</php>
</phpunit>