Skip to content

Instantly share code, notes, and snippets.

@automationhacks
Created January 9, 2020 00:30
Show Gist options
  • Save automationhacks/e30df3fd5ca84d0b7b08efcf27eabcc9 to your computer and use it in GitHub Desktop.
Save automationhacks/e30df3fd5ca84d0b7b08efcf27eabcc9 to your computer and use it in GitHub Desktop.
Additional of listeners in test tasks
task runTests(type : Test) {
useTestNG() {
testLogging.showStandardStreams = true
listeners << "testFrameworks.testNG.logging.Listener"
includeGroups System.getProperty('tag', 'NONE')
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment