Forum Discussion
Currently if the test fails for one row it shows as the whole test case is failed. Does not show particularly on which data row the test fails. But that is not I wanted.
Also, it may not be possible to test for a particular row using data driven approach, right.
Of course, having details of particular row might help during defect fixing and verification quickly.
- cauvery9 years agoContributor
Thank you for your response nmrao. Here is my scenario, let me know if it makes sense.
I used Junit reports with selenium UI testing, and it gives each parameterized test in the report as a test case. So expecting the same here which really makes sense.
For example, in my case, we had 15 different test cases but I consolidated them to one by parameterizing them for easy maintenance. When there were 15 different test cases the reports were showing each one in test report and was easy to see which test failed. But with my consolidation now it shows whole test failed, the higher level people wanted to know which test data failed and don't like to see the whole test failed.
I think if there is no option I will have to split the test again to different test case even though it is just one value I am changing in that test every time. My data driven test is not making sense with the reports.
Thank you for any suggestion.
Cauvery.
- dbelanger8 years agoNew Contributor
I'm looking for the exact same solution.
I need to know what particular iteration of the test data actually failed. Currently, the junit results display the steps that failed, but no context is included. It would be nice if the row number for the datasource was included, and ideally, it would be nice if we could display a value from a column of the row that failed (like a "test_case" column that contain the name or description of the test the row was testing).
Related Content
- 4 years ago
- 4 years ago
Recent Discussions
- 6 days ago
- 10 days ago