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

Allow grouping results by the "testsuite" tag #554

Open
av223119 opened this issue Aug 3, 2023 · 0 comments
Open

Allow grouping results by the "testsuite" tag #554

av223119 opened this issue Aug 3, 2023 · 0 comments

Comments

@av223119
Copy link

av223119 commented Aug 3, 2023

What feature do you want to see added?

Currently, JUnit allows the result grouping based on the step name in the pipeline.
However for various reasons people might not use pipelines and still want to group testcases (in my case, a few pytest runs with different parameters happen). Fortunately, xml results contain a tag that could be used for result grouping, as one can see in the first lines of the xml report:

<testsuites>
    <testsuite name="custom_run_name_1" errors="0" failures="0" skipped="441" tests="520" time="77.558" timestamp="2023-08-03T14:49:47.490082" hostname="edited">
        <testcase …>

for pytest, the testsuite name is defined by the option junit_suite_name, I'm sure other environments allow this in the similar manner.

Upstream changes

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant