We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The readme says:
It is possible to define a suite without specifying set_up or tear_down methods.
I tried to do that using the following code:
LT_BEGIN_SUITE(example_suite) LT_END_SUITE(example_suite)
That gave me compile errors at littletest.hpp lines 367 and 372, because set_up and tear_down are not defined in example_suite.
Providing no-op implementations in the base class suite fixes the errors, and still allows suites to define custom set_up/tear_down if required.
suite
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The readme says:
I tried to do that using the following code:
That gave me compile errors at littletest.hpp lines 367 and 372, because set_up and tear_down are not defined in example_suite.
Providing no-op implementations in the base class
suite
fixes the errors, and still allows suites to define custom set_up/tear_down if required.The text was updated successfully, but these errors were encountered: