test-check

arohner 2022-09-30T12:36:23.459719Z

Is there a way to get good logging about which property failed in a test? I have 4 conditions that all need to be true, so it would be nice to see after shrinking: “on the smallest failure, check 2 returned false”. I could println, but then it logs before shrinking

2022-09-30T13:01:41.292689Z

You can use https://github.com/gfredericks/test.chuck which supports is assertions. That will report which ones failed.

arohner 2022-09-30T13:02:58.007219Z

oh very cool, thank you. I’m already using chuck, but didn’t know about that feature