Retrying Tests Using the Retry Filter

If a test previously failed, you can sort the failed tests by arranging the test suite to run them first. In such cases, you can use the --retry option.

The --retry flag reorders your test suites by prioritizing the previously failed tests. If there were no past failures, the suite runs as usual. But if there were previous failures, those tests are run first. Nice!

Branch: https://github.com/GaryClarke/pest-tdd/tree/45-retrying-tests

Complete and Continue  
Discussion

0 comments