Add descriptions to Gradle tasks in spring-test

This commit is contained in:
Sam Brannen
2014-11-03 23:09:11 +01:00
parent c78fd204df
commit e9dee82a8d

View File

@@ -992,6 +992,7 @@ project("spring-test") {
}
task testNG(type: Test) {
description = 'Runs TestNG tests.'
useTestNG()
scanForTestClasses = false
include(["**/testng/**/*Tests.class", "**/testng/**/*Test.class"])
@@ -1001,12 +1002,14 @@ project("spring-test") {
}
test {
description = 'Runs JUnit tests.'
dependsOn testNG
useJUnit()
exclude "**/testng/**/*.*"
}
task aggregateTestReports(type: TestReport) {
description = 'Aggregates JUnit and TestNG test reports.'
destinationDir = test.reports.html.destination
reportOn test, testNG
}