Skip to content

Extend the current codeceptjs cli to run failed tests #5125

@kobenguyent

Description

@kobenguyent

Currently after executing tests using either run or run-workers, there are possibly some failed tests due to flaky or something like that. To rerun those failed tests, user may need to filer them out and run them.

Proposed solution:

  • extend the current run or run-workers commands to generate the failed-tests.json file for instance which stores crucial info of failed tests.
  • user now could use the run or run-workers to specify the path to failed tests file and codeceptjs now loads only those failed tests and then executing them.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions