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

Aperta
#577 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
376
Fork
240
Merge medio
1g 7h
PR unite (30g)
45

Descrizione

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

```



























```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo l'XML TestNG fornito tramite l'esecuzione di Maven Failsafe, usando i metodi e i relativi parametri di CalculatorSoapApiTest. Confronta il report Allure generato con entrambe le sezioni ; il lavoro è completato quando ogni metodo dichiarato, incluso performCalculationsSoap in entrambi i test, compare con le voci previste.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
testing
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.