File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,32 @@ The summary includes:
124124 <listener class =" Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
125125 </listeners >
126126
127+ Running Tests in Parallel
128+ -------------------------
129+
130+ The modified PHPUnit script allows running tests in parallel by providing
131+ a directory containing multiple suites with their own ``phpunit.xml.dist ``.
132+
133+ .. code-block :: terminal
134+
135+ ├── tests
136+ │ ├── Functional
137+ │ │ ├── ...
138+ │ │ └── phpunit.xml.dist
139+ │ ├── Unit
140+ │ │ ├── ...
141+ │ │ └── phpunit.xml.dist
142+
143+ .. code-block :: terminal
144+
145+ $ ./vendor/bin/simple-phpunit tests/
146+
147+ The modified PHPUnit script will recursively go through the provided directory,
148+ up to a depth of 3 subfolders or the value specified by the environment variable
149+ ``SYMFONY_PHPUNIT_MAX_DEPTH ``, looking for ``phpunit.xml.dist `` files and then
150+ run each suite it finds in parallel, collecting their output and display each
151+ suites test results in their own section.
152+
127153Trigger Deprecation Notices
128154---------------------------
129155
You can’t perform that action at this time.
0 commit comments