Workflow statuses
Workflows in Allure TestOps define the lifecycle of a test case. Each workflow is a set of states that follow one another (for example, from creation of a test case to its deprecation).
By default, Allure TestOps provides two workflows:
- Default Manual for manual test cases. Test cases using this workflow have four states:
Draft
→Review
→Active
→Outdated
. - Default Automated for automated test cases. Test cases using this workflow have two states:
Active
→Outdated
.
You can create your own workflows for both manual and automated test cases. To do that, you need to sign in to Allure TestOps as administrator.
Workflow statuses and workflows themselves are managed in the administration interface separately, i.e., if you want to create a new workflow, first you need to create all the states for that workflow, and then the workflow itself.
Workflow is an additional attribute of a test case, and it does not define or change the type of a test case when switched to another workflow defined for test cases of different type.
Creating workflow statuses
- Log in to Allure TestOps using an administrator account.
- Go to Administration → Status.
- Click + New status.
- Enter a name and a background color for the status.
- Click Submit.
To change a previously created status, click the pencil icon on the right side of the status. To delete a status, click the trash bin icon.
Creating workflows
Log in to Allure TestOps using an administrator account.
Go to Administration → Workflow.
Click the + Create button.
Enter a name for the workflow.
Add states to the workflow.
To add a state, click the + Add button and select the state from the drop-down list. To delete a state, click the cross icon on the right side.
States are ordered from top to bottom. You can reorder them by dragging the
⠿
icon.Click Submit.
Setting default workflows
Default workflows are set separately for manual and automated test cases and are used when you don't specify the workflow for a test case explicitly.
To change a default workflow:
- Open your project.
- Go to Settings → Workflows.
- Click the pencil icon next to the required type of workflow (manual or automated).
- Under Workflow, select the workflow you want to set as the new default.
- Click Submit.
Usage of default workflows
If in your project settings you have assigned default workflow for a certain type of test cases (automated/manual), then for newly created test case of a certain type Allure TestOps will use first status from a default workflow.
Changing states of test cases
To change the current workflow or workflow status of a test case:
- Go to the Test cases section of your project.
- Open a test case.
- In the top right corner of the screen, click
⋯
and select Change status. - If you want to change the current workflow of the test case, select it under Workflow.
- Under Status, select the new state for the test case.
- Click Submit.
You can also click on the workflow status when viewing a test case to quickly change it.