api / org.gradle.api.tasks.testing / AbstractTestTask / addTestOutputListener

addTestOutputListener

open fun addTestOutputListener(listener: TestOutputListener): Unit

Registers a output listener with this task. Quicker way of hooking into output events is using the #onOutput(groovy.lang.Closure) method.

Parameters

listener - The listener to add.