提交 e9dee82a 编写于 作者: S Sam Brannen

Add descriptions to Gradle tasks in spring-test

上级 c78fd204
...@@ -992,6 +992,7 @@ project("spring-test") { ...@@ -992,6 +992,7 @@ project("spring-test") {
} }
task testNG(type: Test) { task testNG(type: Test) {
description = 'Runs TestNG tests.'
useTestNG() useTestNG()
scanForTestClasses = false scanForTestClasses = false
include(["**/testng/**/*Tests.class", "**/testng/**/*Test.class"]) include(["**/testng/**/*Tests.class", "**/testng/**/*Test.class"])
...@@ -1001,12 +1002,14 @@ project("spring-test") { ...@@ -1001,12 +1002,14 @@ project("spring-test") {
} }
test { test {
description = 'Runs JUnit tests.'
dependsOn testNG dependsOn testNG
useJUnit() useJUnit()
exclude "**/testng/**/*.*" exclude "**/testng/**/*.*"
} }
task aggregateTestReports(type: TestReport) { task aggregateTestReports(type: TestReport) {
description = 'Aggregates JUnit and TestNG test reports.'
destinationDir = test.reports.html.destination destinationDir = test.reports.html.destination
reportOn test, testNG reportOn test, testNG
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册