Skip to content

Is there a way to stop test execution when one test(scenario) fails in your test file? #3241

Closed Answered by jancorvus
AakashAshok asked this question in Q&A
Discussion options

You must be logged in to vote

Run with the key --bail

npx codeceptjs run --bail <the rest of params>

It is strange that this is absent in the documentation.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AakashAshok
Comment options

Answer selected by AakashAshok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants