Skip to content

Commit 9629afb

Browse files
committed
Restore JUnit XML reports location for TestNG tests
This commit ensures that JUnit XML reports are generated in the old Gradle 2.x location for all tests in the spring-test module. Issue: SPR-14569
1 parent e6353f0 commit 9629afb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,7 @@ project("spring-test") {
10341034
// Show STD_OUT & STD_ERR of the test JVM(s) on the console:
10351035
// testLogging.showStandardStreams = true
10361036
// forkEvery 1
1037+
reports.junitXml.destination = file("$buildDir/test-results")
10371038
}
10381039

10391040
test {
@@ -1045,6 +1046,7 @@ project("spring-test") {
10451046
exclude(['**/testng/**/*.*'])
10461047
// Java Util Logging for JUnit 5.
10471048
// systemProperty('java.util.logging.manager', 'org.apache.logging.log4j.jul.LogManager')
1049+
reports.junitXml.destination = file("$buildDir/test-results")
10481050
}
10491051

10501052
task aggregateTestReports(type: TestReport) {

0 commit comments

Comments
 (0)