testing

Testing tools, testing philosophy & methodology...
dominicm 2016-09-21T10:44:33.000013Z

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?

dominicm 2016-09-21T10:44:51.000014Z

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

dominicm 2016-09-21T10:54:18.000015Z

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.

anmonteiro 2016-09-21T11:01:08.000016Z

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

dominicm 2016-09-21T11:09:26.000017Z

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