Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- task secondTry(type: Test) {
- onlyIf {
- file("build/reports/tests/test/testng-failed.xml").exists()
- }
- println file("build/reports/tests/test/testng-failed.xml").exists()
- testClassesDir = sourceSets.test.output.classesDir
- classpath = sourceSets.test.runtimeClasspath
- useTestNG() {
- suites("build/reports/tests/test/testng-failed.xml")
- }
- }
- task secondTry(type: Test) {
- useTestNG() {
- useDefaultListeners = true
- reports.html.enabled = false
- options.suites("build/reports/tests/test/testng-failed.xml")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement