How to name test suite properly when using parametrized tests #4189
Unanswered
fsinisi90
asked this question in
Community Help
Replies: 1 comment
-
One approach would be to use the prefix as the suite name. It won't group them, but at least they will start with the same name.
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that is not possible to use the same suite name when creating multiple parametrized test suites with different input types. Let me illustrate it with a simple example:
Of course, this won't compile. I can't use the same name for the two parametrized suites because the classes will collide. And if I use a different name, the tests won't be grouped (note that the
Split
test defined withTEST_F
can be grouped):What is the correct way to solve this?
Beta Was this translation helpful? Give feedback.
All reactions