allure-framework / allure-framework/allure-java

TestNG - Mutiple Test are there in the xml file ..TC count not displayed in the report properly

Aperta
#576 1 commento 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**
In the TestNG xml.. I have two test suite.
my TestNG report shows the no.of test cases properly.In Allure report of the test suite cases are missing.
The json file report is generated in allure-reports

**To Reproduce**













**Expected behavior**
The total no of testcase should be 5 . each class have one method. But in allure only 4 is displayed .Test1 results are not displayed.
I see a simillar pattern.If i use the same methods in differents test .. the count is not displayed properly
**Screenshots**
If applicable, add screenshots to help explain your problem.

![image](https://user-images.githubusercontent.com/31491415/117246616-90f3da80-ae02-11eb-97b0-1dce1e42f04e.png)

**Additional context**
Add any other context about the problem here.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il problema con il TestNG XML fornito, che contiene due voci di test, e ispeziona l'Allure JSON generato in allure-reports. Confronta i cinque casi di test attesi con i quattro risultati visualizzati, prestando particolare attenzione alla classe e al metodo ripetuti, e verifica che tutti i risultati dei test siano rappresentati nel report.

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

Valutazione

Stack tecnologico
java
Ambito
testing
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.