How to condense output of INSTANTIATE_TEST_SUITE_P into one line? #4617
Unanswered
TheSenPie
asked this question in
Community Help
Replies: 0 comments
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.
-
My use case is the following. I have a BitArray, which takes a size parameter for its ctor. I want to run the same test, but every time the array's size is bigger with one. For that purpose, I use parameterized tests with
So, then in my test, I can do something like this
However, the test results get cluttered, since it prints 200 lines of the same test, but with different indexes. Can I somehow squash them all into one message?
So instead of
I would have
name_generator
doesn't help since it modifies messages per line, not the whole output.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions