@@ 179-189 (lines=11) @@ | ||
176 | * @param TestSuite $suite |
|
177 | * @throws \RuntimeException |
|
178 | */ |
|
179 | public function startTestSuite(TestSuite $suite) |
|
180 | { |
|
181 | $this->currentTestSuiteName = $suite->getName(); |
|
182 | $this->currentTestName = ''; |
|
183 | ||
184 | $this->writeArray([ |
|
185 | 'event' => 'suiteStart', |
|
186 | 'suite' => $this->currentTestSuiteName, |
|
187 | 'tests' => count($suite), |
|
188 | ]); |
|
189 | } |
|
190 | ||
191 | public function endTestSuite(TestSuite $suite) |
|
192 | { |
@@ 190-200 (lines=11) @@ | ||
187 | * @param TestSuite $suite |
|
188 | * @throws \RuntimeException |
|
189 | */ |
|
190 | public function startTestSuite(TestSuite $suite): void |
|
191 | { |
|
192 | $this->currentTestSuiteName = $suite->getName(); |
|
193 | $this->currentTestName = ''; |
|
194 | ||
195 | $this->writeArray([ |
|
196 | 'event' => 'suiteStart', |
|
197 | 'suite' => $this->currentTestSuiteName, |
|
198 | 'tests' => count($suite), |
|
199 | ]); |
|
200 | } |
|
201 | ||
202 | public function endTestSuite(TestSuite $suite): void |
|
203 | { |