Fork me on GitHub
#testing
<
2016-09-21
>
dominicm10:09:33

I'm trying to figure out which tests are causing tools.logging messages to print. Is it possible at all to include the test that's currently running when a logging message happens?

dominicm10:09:51

A cursory google returned nothing obvious, but I might be thinking about the problem incorrectly

dominicm10:09:18

Maybe just printing out the test string/name before it runs would be sufficient, as I could look up for the test that triggered it.

anmonteiro11:09:08

@dominicm: clojure.test/is also takes a message after the assertion form. Little known fact which could help

dominicm11:09:26

@anmonteiro The assertions pass, I just have scary logging messages in places where I'm checking for failure.