Skip to content
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

Automatically rerun failed scenarios #169

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

Comments

2 participants
@schlessera
Copy link
Member

schlessera commented Aug 9, 2018

The following changes need to be made:

  1. In the .travis.yml file, the - composer behat line in the script: section needs to be changed into the following:
- composer behat || composer behat-rerun
  1. In the composer-json file, the requirement on wp-cli/wp-cli-tests needs to be adapted to require at least v2.0.7:
"wp-cli/wp-cli-tests": "^2.0.7"
  1. In the composer-json file, the "scripts" section needs to be extended. Immediately after the line "behat": "run-behat-tests",, the following line needs to be inserted:
"behat-rerun": "rerun-behat-tests",

Here's an example of how this should look like:

@wojsmol

This comment has been minimized.

Copy link
Contributor

wojsmol commented Aug 12, 2018

fixed by #170

@schlessera schlessera added this to the 2.0.1 milestone Aug 23, 2018

@schlessera schlessera closed this Aug 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.