Test case members
Members are those people working on the current test case.
Assignment of members to a manual test case
- In the Test cases section, select a test case.
- In the Overview tab go to the test case Members section and click Edit.
- Select member's Role and User from the drop-down lists, and then click Submit.
Assignment of members to automated test cases
There are two options for automated test cases:
- You can keep and maintain your roles in your code (strongly recommended).
- You can keep and maintain your tags in Allure TestOps manually (we do not recommend this way).
Maintaining roles in your code
For different programming languages and test frameworks this will look a bit different, but the approach is the same: you need to provide a label with the appropriate key like owner
, lead
or author
with tag's value to Allure TestOps in your test results. General concept of labels is described here.
Here is Java, JUnit5 example for providing the meta information (including tags) to test results.
@Test
@Owner("Owner OfTest")
@Story("Create new issue")
@Tags({@Tag("web"), @Tag("critical")})
@DisplayName("Creating new issue by authorized user")
public void shouldCreateIssue() {
steps.openIssuesPage(OWNER, REPO);
steps.createIssueWithTitle(ISSUE_TITLE);
steps.shouldSeeIssueWithTitle(ISSUE_TITLE);
}
This code will result in following test result file (something-result.json
) of allure framework:
<SNIP>
"labels": [
{
"name": "tag",
"value": "web"
},
{
"name": "tag",
"value": "critical"
},
{
{
"name": "owner",
"value": "Owner OfTest"
},
{
"name": "story",
"value": "Create new issue"
},
<SNIP>
],
Tags will be processed by Allure TestOps automatically without any additional settings.
Automatic assignment a member to a test case
You can configure automatic assignment of members.
Creating new roles for a project
You can create new member roles