Reputation: 13
By default the JUnit reports are generated at build/reports/tests/testDebugUnitTest
and build/reports/tests/testReleaseUnitTest
How I can modify my gradle file so I can change this location?
Upvotes: 1
Views: 2622
Reputation: 28663
you can configure the html and xml output explicitly per task:
test {
reports.junitXml.destination = file("$buildDir/xml")
reports.html.destination = file("$buildDir/html")
}
Upvotes: 3