New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automatic support for `behat --rerun` #12

Closed
schlessera opened this Issue Aug 6, 2018 · 1 comment

Comments

1 participant
@schlessera
Member

schlessera commented Aug 6, 2018

The Behat tooling should provide automated support for the --rerun. This could work so that the --rerun flag is always appended with a filename in a temporary folder. If rerunning was not requested, then the file should be erased first, so that the test suite runs in its entirety.

Rerunning might work through something like composer behat-rerun or similar.

As a result, general usage would always run the entire test suite, but when you had failures, you can just type composer behat-rerun to only run the failed scenarios. You never need to remember to first record the run for the --rerun to be available.

@schlessera

This comment has been minimized.

Show comment
Hide comment
@schlessera

schlessera Aug 9, 2018

Member

Fixed via #15

Member

schlessera commented Aug 9, 2018

Fixed via #15

@schlessera schlessera closed this Aug 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment