jest
jest copied to clipboard
Ability to skip rest test cases if one fails
🚀 Feature Proposal
Provide ability to skip rest test cases in a file or describe
block if one test fails.
Motivation
For E2E testing, the test cases are usually written to be run sequentially, and a failed test should stop the rest from running.
Example
test('should login', async () => {});
test('should edit profile', async () => {});
test('should render profile', async () => {});
Or with describe
s:
describe('#1', () => {
test('should login', async () => {});
describe('#1.1', () => {
test('should edit profile', async () => {});
test('should render profile', async () => {});
});
});