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
Documentation does not exist. This is deliberate because...
... This is not a supported feature. It was originally experimental - but hit some systemic issues that caused a rethink (and some preparatory rework). There's a new implementation off to the side (not in GitHub) that works properly, but is not finished. This will be going into Catch2.
No (not for this implementation)
You raise a good point, indirectly, that the lack of documentation does not adequately convey the unsupported nature.
The original implementation went in quite early on and got stuck there. I know some people have used it, so I didn't want to take it out. The main problem with it (apart from being incomplete) is it doesn't work with sections.
Description
Catch appears to support test data generation via the
GENERATE
macro. See the examples here:https://github.com/philsquared/Catch/blob/master/projects/SelfTest/GeneratorTests.cpp
I have been unable to locate any documentation that references
GENERATE
or the other syntax used inGeneratorTests.cpp
Steps to reproduce
Search for
GENERATE
on the documentation pages.Questions
GENERATE
a supported feature? I have found it useful on the few occasions that I've used it.The text was updated successfully, but these errors were encountered: