# removeTestMetadataListener

@Incubating
open fun removeTestMetadataListener(listener: TestMetadataListener)(source)

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

#### Since

9.4.0

#### Parameters

listener

The listener to remove.