Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
delatrie opened this issue Jun 19, 2023 · 0 comments
Open
Assignees
Labels
task:new feature Requesting new capability or software feature theme:nunit theme:xunit

Comments

@delatrie
Copy link
Contributor

delatrie commented Jun 19, 2023

Currently, no suite labels are added automatically either by allure-xunit or by allure-nunit.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?

Add a parent suite if no parent suite label specified by a user.
Similarly, provide a suite if no suite label specified by a user.
Similarly, provide a sub-suite if no sub-suite label specified by a user.

The most convenient IMO are:

  • Parent suite: an assembly name
  • Suite: a namespace
  • Sub-suite: a class name

This creates a four-level hierarchy of assemblies -> namespaces -> classes -> test cases, something quite familiar to .NET developers who use tools like ILSpy.

Motivation

Default suites provide reasonable and familiar navigation scheme through allure test cases that could be more convenient for some projects then package-based hierarchy (that has no depth limitations).

@delatrie delatrie added theme:xunit task:new feature Requesting new capability or software feature theme:nunit labels Jun 19, 2023
@delatrie delatrie self-assigned this Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task:new feature Requesting new capability or software feature theme:nunit theme:xunit
Projects
None yet
Development

No branches or pull requests

1 participant