Created
January 9, 2020 00:30
-
-
Save automationhacks/e30df3fd5ca84d0b7b08efcf27eabcc9 to your computer and use it in GitHub Desktop.
Additional of listeners in test tasks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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