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

How do I get Detox to quit after the first failure? #962

Closed
EdwardDrapkin opened this issue Oct 1, 2018 · 0 comments
Closed

How do I get Detox to quit after the first failure? #962

EdwardDrapkin opened this issue Oct 1, 2018 · 0 comments

Comments

@EdwardDrapkin
Copy link
Contributor

EdwardDrapkin commented Oct 1, 2018

Trying to develop tests alongside Detox is kind of a nightmare. If you write a bunch of tests, the first one that fails will usually make all the subsequent tests fail as well. And then ALL of the failures dump the entire UI tree to the console. But you have to wait for the entire suite to finish / destroy your console to see the output from the first failure.

I even hacked runJest to include --bail and it doesn't seem to bail like it normally would. How do I get Detox to fail fast?

@lock lock bot locked as resolved and limited conversation to collaborators Oct 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant