Default argument names of parametrized tests #2891
pandoras-toolbox
started this conversation in
Ideas & Feedback
Replies: 2 comments
-
The issue can be solved by adding
https://docs.oracle.com/javase/tutorial/reflect/member/methodparameterreflection.html |
Beta Was this translation helpful? Give feedback.
0 replies
-
We will try that, thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems that the arguments of parametrized tests (with JUnit 5) do not have the actual names of the method parameters but instead are named with arg0, arg1, arg2 and so on in the Allure report.
You can use something like
@Param("foobar")
for a method parameter of a parametrized test so that in the Allure report that name is used instead of arg0, arg1 etc.Wouldn't it be be nice if the name of the parameter would automatically be used as a name in the Allure report (if not overriden with
@Param(name = "xyz")
?Beta Was this translation helpful? Give feedback.
All reactions