Create a Collection
A Collection is a way to group tests
, beforeAll
, and afterAll
IDs together, making it easier to run different combinations of these elements. To run a Collection, you simply use its ID. Collections are useful for organizing tests and other elements in a logical and meaningful way, and they can help to make it easier to manage and execute tests.
Example
collections.yml
collections:
collection1:
testIds:
- test1
- test2
beforeAllIds:
- beforeAll1
afterAllIds:
- afterAll1
collection2:
testIds:
- test2
- test5
beforeAllIds:
- beforeAll5
afterAllIds:
- afterAll5