Open kalaracey opened 2 years ago
Updated original post to use RC_GTEST_FIXTURE_PROP rather than RC_GTEST_PROP.
Thanks the great library. I use it with address sanitizer "-fsanitize=address", is works great.
Yes, it would be great to have a macro like below to put in the testfixture (in Setup(), and TearDown() ).
Note: this means you have to remove "const" from rc::detail::configuration()
#define RC_FORCE_MAX_SUCCESS(n) { \
if (int{(n)} > 0) { \
rc::detail::configuration().testParams.maxSuccess = n; \
} \
}
Hey, thanks for the great library. I was wondering if it's possible to set RC_PARAMS with the GoogleTest integration from within the test. I tried setting the environment variable in my test suite constructor to no avail:
The only output from RapidCheck I see is like
FWIW, using
putenv
from main did work, as inWith that, I see
Thanks.