Skip to content

Commit 8195694

Browse files
authored
Merge pull request #896 from ThomasLandauer/patch-4
Update Commands.md: Adding `codecept run -g failed`
2 parents d2022a4 + dac5cb4 commit 8195694

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

docs/reference/Commands.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -233,16 +233,16 @@ Executes tests.
233233

234234
Usage:
235235

236-
* `codecept run acceptance`: run all acceptance tests
237-
* `codecept run tests/acceptance/MyCest.php`: run only MyCest
238-
* `codecept run acceptance MyCest`: same as above
239-
* `codecept run acceptance MyCest:myTestInIt`: run one test from a Cest
240-
* `codecept run acceptance MyCest:myTestInIt#1`: run one example or data provider item by number
241-
* `codecept run acceptance MyCest:myTestInIt#1-3`: run a range of examples or data provider items
242-
* `codecept run acceptance MyCest:myTestInIt@name.*`: run data provider items with matching names
243-
* `codecept run acceptance checkout.feature`: run feature-file
244-
* `codecept run acceptance -g slow`: run tests from *slow* group
245-
* `codecept run unit,functional`: run only unit and functional suites
236+
* `codecept run Acceptance`: run all acceptance tests
237+
* `codecept run tests/Acceptance/MyCest.php`: run only MyCest
238+
* `codecept run Acceptance MyCest`: same as above
239+
* `codecept run Acceptance MyCest:myTestInIt`: run one test from a Cest
240+
* `codecept run Acceptance MyCest:myTestInIt#1`: run one example or data provider item by number
241+
* `codecept run Acceptance MyCest:myTestInIt#1-3`: run a range of examples or data provider items
242+
* `codecept run Acceptance MyCest:myTestInIt@name.*`: run data provider items with matching names
243+
* `codecept run Acceptance checkout.feature`: run feature-file
244+
* `codecept run Acceptance -g slow`: run tests from *slow* group
245+
* `codecept run Unit,Functional`: run only unit and functional suites
246246

247247
Verbosity modes:
248248

@@ -268,6 +268,10 @@ Run with specific extension
268268
* `codecept run --ext DotReporter` run with DotReporter printer
269269
* `codecept run --ext "My\Custom\Extension"` run with an extension loaded by class name
270270

271+
Re-Run failed tests
272+
273+
* `codecept run -g failed`
274+
271275
Full reference:
272276
{% highlight yaml %}
273277
Arguments:

0 commit comments

Comments
 (0)