Fork me on GitHub
#kaocha
<
2021-07-22
>
danielneal08:07:37

Is there a kaocha reporter or something that will print the name of the test as it is testing it?

danielneal08:07:59

One of our tests in our suite is hanging and I don’t know how to find out which 😅

lread14:07:52

@danieleneal try the documentation reporter, it should give you what you need.

plexus16:07:11

yes, the documentation reporter. But also a great trick to know if you have a Clojure process that is "stuck" like that: find the process id with jcmd, then inspect the thread stacks with jstack. Takes a little bit of wading through the noise but it can tell you a lot of where your process is hanging.

plexus16:07:57

also this stuff greps really well, especially if you have a common prefix for your own namespaces, like I can jstack $PID | egrep '(^"|lambdaisland)' and see each individual thread, and the stack frames that are in my own code