allure-framework / allure-framework/allure-python
allure-pytest 2.13.2 will merge parameterized use cases
- Vorherrschende Sprache
- Python
- Sterne
- 814
- Forks
- 260
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
#### Bug Description
When using @pytest.mark.parametrize() parametrization, the use cases are merged in the generated allure report, and it is not possible to generate an execution result record for each parametrized use case.
#### Steps to reproduce

#### Getting report results
The @pytest.mark.parametrize() parameterization executes four use cases, three of which pass and one of which fails, and sets the failing use case to retry once, and after the execution is complete, the generated allure report can only see the last report record, and the other use case executions are all categorized under " Retries" below

#### Expected Result
It is possible to display execution results for each use case individually, as in allure-pytest 2.13.1.

#### Running environment
- Allure version: 2.13.0
- Test framework: pytest 7.1.0
- Allure adaptor: allure-pytest 2.13.2
Beitragsleitfaden
Rechercherichtung
Beginne damit, das Problem mit @pytest.mark.parametrize() unter pytest 7.1.0 und allure-pytest 2.13.2 zu reproduzieren, und vergleiche anschließend den erzeugten Bericht mit allure-pytest 2.13.1. Erledigt ist die Aufgabe, wenn jeder parametrisierte Anwendungsfall ein eigenes Ausführungsergebnis hat, einschließlich des fehlgeschlagenen Falls und seines Wiederholungsversuchs, statt unter Retries zusammengeführt zu werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- testing
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100