kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
2020-03-18T11:36:40.121700Z

hello, firstly thanks for kaocha. i was sceptical at first but once you get to know it it's a big step up from clojure.test

2020-03-18T11:39:41.124300Z

i wonder if anyone could help me with what i'm trying to achieve. we are using kaocha to run some browser tests via chrome devtools protocol, and i want to capture a screenshot whenever an assertion fails or an exception is thrown. assertion failing i achieved using a reporter and installing a defmethod for :kaocha/fail-type and i thought i could do the same for :error but it is called outside the stack from where the exception happened, which means that i can't access the browser anymore to take the screenshot