We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb40dd5 commit 80ff5f5Copy full SHA for 80ff5f5
src/Framework/TestSuite.php
@@ -347,6 +347,30 @@ public function run(): void
347
}
348
349
$test->run();
350
+
351
+ foreach (array_keys($this->tests) as $key) {
352
+ if ($test === $this->tests[$key]) {
353
+ unset($this->tests[$key]);
354
355
+ break;
356
+ }
357
358
359
+ if ($test instanceof TestCase || $test instanceof self) {
360
+ foreach ($test->groups() as $group) {
361
+ if (!isset($this->groups[$group])) {
362
+ continue;
363
364
365
+ foreach (array_keys($this->groups[$group]) as $key) {
366
+ if ($test === $this->groups[$group][$key]) {
367
+ unset($this->groups[$group][$key]);
368
369
370
371
372
373
374
375
376
$this->invokeMethodsAfterLastTest($emitter);
0 commit comments