-
-
Notifications
You must be signed in to change notification settings - Fork 648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for templated test cases - parameterized by type #38
Comments
It is in the roadmap (search |
Typed tests are really important and would also be a big plus over Catch which only supports value parametrization and not typed. Without typed tests people still have to use Boost.Test and Gtest althouth they are really "old". |
I'll give this a higher priority. |
I just implemented templated test cases in the dev branch - checkout the docs here and try the feature! Any feedback is welcome. Value parameterization is a different story... Typed tests were easy (not really... C++98, etc.) because I could just copy the interface of other libraries. However I feel that value parameterization is potentially a much broader topic - I'm not sure what they should look like - and I haven't done my research yet... I need feedback on this:
|
I'm renaming this issue so it's only for templated test cases and I'm closing it so it ends up in the generated changelog when I release version 1.2 in a few days. I'll make a new issue in the future about value-parameterized tests and will link to it here. |
… read the parameterized-tests.md file
I just pushed an update to the docs in the dev branch on how to emulate value parameterization easily - check it out - search for |
I cannot figure out if this framework supports or plans to support parametric test cases, where I define a test parametrized by some value, and then instantiate a number of sibling tests with different values; or I define a test parametrized by a type (like a template) and then instantiate a number of sibling test cases using a different type.
Frameworks like Gtest or Boost.Test support them. For reference see:
Can we expect a similar functionality in this library?
The text was updated successfully, but these errors were encountered: