Closed kenbot closed 2 years ago
Yes, have a look at https://github.com/propensive/probably :)
Thanks Jon, I'll check it out!
You can have a look at the changes in this PR I made for Monocle for the sort of code changes required:
https://github.com/optics-dev/Monocle/pull/991
What I didn't make clear enough when I proposed this in Monocle was that you still need to invoke the macro (and hence the test code) from a call site somewhere. All Probably does is guarantees that the tests that get run also get reported at the end of the compilation.