Add "--stop-on-failure" to reference and test commands
Open
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
Currently debugging invalid ready code is pretty tricky. For example, it's possible for `waitForSelector` to timeout, but there's no easy way to determine what test case actually caused the error. We end up hacking our test case files, removing tests until we find the one that is broken. Of course, this is made more difficult if the failure themselves are spurious.
PHPUnit and Behat both have a `--stop-on-failure` option, which does exactly what it says. It would be great if backstop had an equivalent flag, and when failing show exactly what scenario failed and the line it failed on.
Contributor guide
Assessment
This issue has not been assessed yet.