afterAll
The afterAll
phase runs after all tests in a test run have completed. It can be used to reset or clean up the application state.
Syntax
afterAll:
<after-all-id>:
tasks:
- id: <taskId>
action: <actionReference>
validate: <validationScriptReference>
Properties
Property | Description | Type | Required |
---|---|---|---|
<after-all-id> | Identifier for the afterAll phase | string | true |
tasks | List of tasks to run in the afterAll phase. Refer to value section. | object | true |
Example
afterAll.yml
afterAll:
deleteUser:
tasks:
- action: actions.deleteUserHttpRequest
validate: scripts.validateResponse