-
Notifications
You must be signed in to change notification settings - Fork 29
How to stop the test case if the test fails. #17
Comments
There's not currently an easy way to do that, but I like the idea. I could add something like an |
Great request. I've been thinking of adding this as a feature request myself. |
Have had to face down this problem and have found the following hack:
function testWrapping(message, testFunc)
}
if(!testWrapping("response is ok", |
FYI - If you pass |
Yup, a null is probably better if you want to just fail a whole collection. I only need it the fail on folder scope and to attempt the next group of requests though so included this approach :) |
When some test failed.I would like to terminate the script. Can I terminate next test?
`
eval(globals.postmanBDD);
describe('Get customer info', () => {
});
`
The text was updated successfully, but these errors were encountered: