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

With data driven tests the test name in the report is undescriptive. #41

Open
jensakejohansson opened this issue Apr 8, 2022 · 1 comment

Comments

@jensakejohansson
Copy link

jensakejohansson commented Apr 8, 2022

When running Gauge tests that are data-driven the test case name in the xml-report are just increased with indexes, so the names are very undescriptive.

Example:

<testcase classname="SpecName" name="Test 1" time="5.437"></testcase>
<testcase classname="SpecName" name="Test 2" time="20.286"></testcase>
<testcase classname="SpecName" name="Test 3" time="5.019"></testcase>

It would be better if the name indicated that data that was used from the Gauge data-table, something like:

<testcase classname="SpecName" name="Test 1_valueInColumn1_valueInColumns2_etc" time="5.437"></testcase>
<testcase classname="SpecName" name="Test 2_valueInColumn1_valueInColumns2_etc" time="20.286"></testcase>
<testcase classname="SpecName" name="Test 3_valueInColumn1_valueInColumns2_etc" time="5.019"></testcase>

It would make it slightly easier to see in report what "version" of the test that was failing...

Best regards,

@manojTest
Copy link

Any solution for making test most descriptive

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

No branches or pull requests

2 participants