Skip to content
This repository was archived by the owner on Jul 31, 2018. It is now read-only.
This repository was archived by the owner on Jul 31, 2018. It is now read-only.

How to stop the test case if the test fails. #17

@len-werawad

Description

@len-werawad

When some test failed.I would like to terminate the script. Can I terminate next test?

`
eval(globals.postmanBDD);

describe('Get customer info', () => {

it('should return a 200 response', () => {
    response.should.have.status(200);
    
    // in case of status, not 200. I would like to terminate the test.
});

// There isn't run this.
it('test 2', () => {
});

});
`

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions