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
I've used RapidCheck in a small project and enjoyed it so far, but I've found myself in cases where I want to run property assertions inside of a kind of parameterized test, but as far as I can tell RapidCheck seems to kind of assume there will only be one assertion per test case based on its reporting.
I made a wrapper macro that allows me to print a message on failed assertions, but the problem is that they repeat whenever RapidCheck shrinks the input and re-tests the properties, so you get the same message a bunch of times.
Would it be possible to add support to add an optional failure message directly to RapidCheck, so that it gets reported only when the entire test case has failed?
The text was updated successfully, but these errors were encountered:
I've used RapidCheck in a small project and enjoyed it so far, but I've found myself in cases where I want to run property assertions inside of a kind of parameterized test, but as far as I can tell RapidCheck seems to kind of assume there will only be one assertion per test case based on its reporting.
I made a wrapper macro that allows me to print a message on failed assertions, but the problem is that they repeat whenever RapidCheck shrinks the input and re-tests the properties, so you get the same message a bunch of times.
Would it be possible to add support to add an optional failure message directly to RapidCheck, so that it gets reported only when the entire test case has failed?
The text was updated successfully, but these errors were encountered: