Skip to content

Commit 2f5a2f0

Browse files
committed
rerunning
1 parent 0eea2e2 commit 2f5a2f0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

guides/06-Debugging.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@
22

33
Writing a test is always the process of learning the code and the application.
44
It is ok, if a test can't be writtng from scratch or you don't understand the effects of the code.
5-
By looking into the following debugging practices you will learn how to get all required information inside a test to finish it.
5+
By looking into the following debugging practices you will learn how to get all required information inside a test to finish it.
6+
7+
## Re-Running Failed Tests
8+
9+
Codeception saves the list of failed tests. To re-run failed test run tests from `failed` group:
10+
11+
```php
12+
php vendor/bin/codecept run -g failed
13+
```
14+
15+
If no tests have failed this group will be empty.
616

717
## Output
818

0 commit comments

Comments
 (0)