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

Open
#577 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
376
Forks
240
Avg merge
1d 7h
Merged PRs (30d)
45

Description

**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 ==>

```



























```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the supplied TestNG XML through the Maven Failsafe execution, using the CalculatorSoapApiTest methods and their parameters. Compare the generated Allure report with both sections; done means every declared method, including performCalculationsSoap in both tests, appears with the expected entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.