Value-Parameterized Tests - allowed type criteria #4395
Unanswered
halt9k
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
-
In the docs How to Write Value-Parameterized Tests it says for parameter
for the experiment, I tried to use it with fs:path and got Stack Overflow during print near testing::internal::UniversalPrinter
Standard checks on fs:path and string (is_copy_constructible, is_trivially_copy_constructible, so on) - mostly give same result: either both are, either both are not.
Can you please hint type test function which will distinguish?
Sub-question: aren't test framework supposed to ensure automatically if provided type meets criteria rather than generate SO? For example, to check if class have PrintTo() implemented if this is requirement.
Beta Was this translation helpful? Give feedback.
All reactions