[英]Display full test case in Azure test results
I have several JUnit test cases which I run on Azure:我有几个 JUnit 测试用例,我在 Azure 上运行:
@Tag("https://sometest.com")
@DisplayName("66734 Web Test - Serial Inquiry - negative")
@Test(testName = "66734 Web Test - Serial Inquiry", groups = { "multiple_runs" })
@Timeout(value = 60, unit = TimeUnit.SECONDS)
public void negativeSerialInquiryTest()
{
.......
}
When I run the tests in Azure I get:当我在 Azure 中运行测试时,我得到:
As you can see for Test Case title I get the name of the Java Method.正如您在测试用例标题中看到的那样,我得到了 Java 方法的名称。 I would like to display this name "66734 Web Test - Serial Inquiry"
for Test Case title.我想为测试用例标题显示此名称"66734 Web Test - Serial Inquiry"
。 Do you know how I can configure this?你知道我该如何配置吗?
To change the display name to "66734 Web Test - Serial Inquiry"
for Test Case title you have to follow Rename your test plan and Publishing test results in JUnit .要将测试用例标题的显示名称更改为"66734 Web Test - Serial Inquiry"
,您必须按照重命名您的测试计划并 在 JUnit 中发布测试结果。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.