kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
2020-12-14T15:53:35.308Z

I've put in "production" my kaocha-retry plugin, and discovered that it doesn't actually handle the situation where exceptions are thrown instead of normal failures

2020-12-14T15:55:01.308600Z

guess I have to deal with that too, I just need to add some try/except I guess?

2020-12-14T15:55:25.309300Z

and rethrow the exception if the counter reached the max retries allowed

2020-12-14T16:16:23.310800Z

should maybe improve the reporting though

plexus 2020-12-14T16:21:25.312500Z

right, exceptions are generally handled by (is ,,,), which reports them as errors, but the when the exception happens outside of an assertion it needs to be handled by the test type. In this case you should probably replicate that behavior to prevent it from breaking out of your retry loop https://github.com/lambdaisland/kaocha/blob/main/src/kaocha/type/var.clj#L31-L34

2020-12-14T16:32:29.312800Z

ah cool I see