We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Junit 5 supports nested tests so it possibly can result in nested <testsuite> tags in xml output:
<testsuite>
<testsuites> <testsuite tests="4" failures="0" time="150.0" name="All tests"> <testsuite tests="2" failures="0" time="30.0" name="TestA"> <properties></properties> <testcase classname="" name="A" time="10.0" cluster_instance="packet-1"> <failure message="failure"></failure> </testcase> <testcase classname="" name="B" time="20.0" cluster_instance="packet-1"></testcase> </testsuite> <testsuite tests="2" failures="1" time="70.0" name="TestB"> <properties></properties> <testcase classname="" name="A" time="30.0" cluster_instance="packet-1"></testcase> <testcase classname="" name="B" time="40.0" cluster_instance="packet-1"> <failure message="failure"></failure> </testcase> </testsuite> <testcase classname="" name="A" time="50.0" cluster_instance="packet-1"> <failure message="failure"></failure> </testcase> </testsuite> </testsuites>
Currently action-junit-report doesn't support nested suites and looks up only for first level depth <testcase> tags in the root test suites.
action-junit-report
<testcase>
suite_regex
A
B
TestA/A
TestA/B
The text was updated successfully, but these errors were encountered:
Thank you so much for this new feature
Sorry, something went wrong.
mikepenz
No branches or pull requests
Issue
Junit 5 supports nested tests so it possibly can result in nested
<testsuite>
tags in xml output:Currently
action-junit-report
doesn't support nested suites and looks up only for first level depth<testcase>
tags in the root test suites.Solution
suite_regex
parameter, so nested test cases would be reported not asA
,B
, but asTestA/A
,TestA/B
.The text was updated successfully, but these errors were encountered: