allure-framework / allure-framework/allure-java

Allure report doesn't show all the test methods if I have combination of test methods from the same test class but clubbed under multiple tesNG test

未关闭
#577 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
376
派生
240
平均合并
1 天 7 小时
30 天内合并 PR
45

描述

**Describe the bug**

Allure report doesn't show all the test methods if I have combination of test methods from the same test class but clubbed under multiple tesNG test ==>
You can see in the screenshot that method `` is not displayed

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
Allure report should show same test methods as declared in testng xml

**Screenshots**

![image](https://user-images.githubusercontent.com/53520137/117297533-f80d9f80-ae93-11eb-9d4e-efdfc4fcb1a2.png)

**Desktop (please complete the following information):**
- OS: [e.g. iOS] Win 10
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] 90.x

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
I am generating testNG.xml programmatically from xml sheet and executing via maven failsafe plugin

TestNG xml ==>

```



























```

贡献指南

打开贡献指南

调研方向

首先使用 CalculatorSoapApiTest 的方法及其参数,通过 Maven Failsafe 执行来复现所提供的 TestNG XML。将生成的 Allure 报告与两个 部分进行比较;当每个已声明的方法(包括两个测试中的 performCalculationsSoap)都以预期条目出现时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
testing
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。