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
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
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.
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 <include name="performCalculationsSoap" description="Perform calculations - 1"> is not displayed
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
Allure report should show same test methods as declared in testng xml
Screenshots

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 ==>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="1" verbose="0" name="My Test Suite">
<test name="My Test - 1">
<parameter name="browser" value="CHROME"/>
<classes>
<class name="com.example.tests.CalculatorSoapApiTest">
<methods>
<include name="performCalculationsSoap" description="Perform calculations - 1">
<parameter name="tcId" value="TC5"/>
</include>
<include name="retrieveByIdRest" description="Retrieve - 1">
<parameter name="tcId" value="TC5"/>
</include>
</methods>
</class>
</classes>
</test>
<test name="My test -2" >
<parameter name="browser" value="CHROME"/>
<classes>
<class name="com.example.tests.CalculatorSoapApiTest">
<methods>
<include name="performCalculationsSoap" description="Retrieve - 2">
<parameter name="tcId" value="TC7"/>
</include>
</methods>
</class>
</classes>
</test>
</suite>
- Lingua principale
- Java
- Stelle
- 376
- Fork
- 241
- Merge medio
- 20h 3m
- PR unite (30g)
- 45
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di allure-framework/allure-java
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
allure-framework/allure-java#1439 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
allure-framework/allure-java#1446 ·
-
Add precondition method and annotation for update precondition field in test case from test result Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
allure-framework/allure-java#1355 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
allure-framework/allure-java#1322 · 2 commenti ·
-
triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
allure-framework/allure-java#987 · 2 commenti ·
Tutte le issue di allure-framework/allure-java
Issue simili
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
apache/flink-agents#1152 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
jenkinsci/blueocean-plugin#5417 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
objectionary/eo-graphs#75 ·