jeudi 1 septembre 2016

Gradle batch test log events

I have a Java project (on GitHub) with over 4600 unit tests that run in about 13 minutes on Travis CI.

By default, the webpage of Travis shows all unit test methods with > STARTED but the whole log gets trimmed due to the sheer number of the output. If I turn off these logs in Gradle, the build fails due to lack of standard output for 10 minutes.

Is there a way to setup Gradle (2.14) to log on a per test-class level instead of test-method level? I've tried maxGranularity = 1 and 2 but that just doesn't show anything.

Aucun commentaire:

Enregistrer un commentaire