You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
baev
changed the title
[Defect/Suggestion] Hard to distinguish data-drive tests/Provide placeholders support @Title.
Hard to distinguish data-drive tests/Provide placeholders support @Title
Jun 14, 2017
we can display test parameters in tree. Will it fix the problem?
Do you mean the approach used in Allure 1.* (methodName/Title + Paramaters[].toString())? If yes then it should work.
I'm submitting a ...
What is the current behaviour?
Allure 2 report shows data-driven tests by method name/or fixed title only:
No
@Title
Using
@Title
So, there is no quick way to distinguish data cases, one need to go through the list and click each case to see the difference.
If the current behaviour is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behaviour?
@Title
then test method name + a short excerpt of the arguments' #toString() is shown in the list;@Title
then the title's value is shown (current behaviour);@Title
supports placeholders in the same way as@Step
:@Title("Check user {data.name }'s data.")
or
@Title("Check user's data - {0}.")
What is the motivation / use case for changing the behaviour?
A quick way to distinguish data-drive test executions in the report, no need to go through the list of executions to see the difference.
Please tell us about your environment:
Other information
The text was updated successfully, but these errors were encountered: