Test & chunk options

When you develop a test you may pass options to test or chunk, which override config values for concrete test or chunk.

Test options

skip unwanted test

test("My test", { skip: true }, () => {
    chunk(() => {
        // payload
    });
});
test("My test", { skip: "Opened bug http://tracker.com/bugs/121" }, () => {
    chunk(() => {
        // payload
    });
});

retry failed test

test("My test", { retry: 2 }, () => {
    chunk(() => {
        // payload
    });
})

retry failed chunks

test("My test", { chunkRetry: 2 }, () => {
    chunk(() => {
        // payload
    });
});

chunks execution timeout

test("My test", { chunkTimeout: 1 }, () => {
    chunk(() => {
        // payload
    });
});

Chunk options

retry failed chunk

test("My test", () => {
    chunk({ retry: 2 }, () => {
        // payload
    });
});

chunk execution timeout

test("My test", () => {
    chunk({ timeout: 1 }, () => {
        // payload
    });
});