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