Advertisement
fedorm

Untitled

Mar 2nd, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.48 KB | None | 0 0
  1. task smokeTesting(type: Test) {
  2.     systemProperties System.getProperties()
  3.     testLogging.showStandardStreams = true
  4.     useTestNG(){
  5.             suites src/test/resources/suites/smoketesting/suite_smoke_testing.xml'
  6.    }
  7.    options {
  8.        useDefaultListeners = false
  9.        listeners << 'org.uncommons.reportng.JUnitXMLReporter'
  10.        testSuite.tokenize(',').collect {
  11.            it = suitesPath + it
  12.        }.each { suites it }
  13.        includeGroups "${testGroup}"
  14.    }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement