garris / garris/BackstopJS

Add "--stop-on-failure" to reference and test commands

Open
#1,424 0 comments 3 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.