# removeTestListener

open fun removeTestListener(listener: TestListener)(source)

Unregisters a test listener with this task. This method will only remove listeners that were added by calling addTestListener on this task. If the listener was registered with Gradle using addListener this method will not do anything. Instead, use removeListener.

#### Since

4.4

#### Parameters

listener

The listener to remove.