Hide logs of successful tests

233 views Asked by At

I am running my tests using Maven's Surefire plugin. My code has logging implemented using the SLF4J framework.

How do I disable displaying logs during mvn test for tests that complete successfully? I've seen this feature in py.test and would like to replicate it in a Java codebase.

0

There are 0 answers