Skip to content

feat(nunit, xunit): set the default suites hierarchy for test results#578

Merged
delatrie merged 4 commits into
mainfrom
feat/default-suites
Aug 13, 2025
Merged

feat(nunit, xunit): set the default suites hierarchy for test results#578
delatrie merged 4 commits into
mainfrom
feat/default-suites

Conversation

@delatrie

@delatrie delatrie commented Aug 12, 2025

Copy link
Copy Markdown
Contributor

Context

The PR implements the default suite hierarchy in Allure.NUnit and Allure.Xunit. See motivation in #364.

In NUnit, generic and parameterized classes are mapped to distinct sub suites.

If a test result already contains a suite hierarchy label (parentSuite, suite, or subSuite), the default labels are not added. This allows overwriting the default hierarchy with a custom one by using the Allure API (both runtime and attribute-based).

Closes #364.

@delatrie delatrie merged commit 47e2960 into main Aug 13, 2025
7 checks passed
@delatrie delatrie deleted the feat/default-suites branch August 13, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide default suites out-of-box for allure-nunit and allure-xunit

2 participants