Add integrationTestReport task

This task will run integrationTest task and save all test reports in the
$reportDir/integrationTestReports folder

This was requested in #832 by @adamopolous
This commit is contained in:
Andrii Kurdiumov 2019-08-03 20:30:47 +06:00
parent 1dfda0d419
commit 03ec2ef569
2 changed files with 14 additions and 0 deletions

View File

@ -86,6 +86,9 @@ task pcodeTest (type: Test) { t ->
rootProject.unitTestReport {
reportOn this.project.test
}
rootProject.integrationTestReport {
reportOn this.project.integrationTest
}
rootProject.pcodeTestReport {
reportOn this.project.pcodeTest
}

View File

@ -331,6 +331,17 @@ task unitTestReport(type: TestReport) { t ->
outputs.upToDateWhen {false}
}
/*********************************************************************************
* INTEGRATION TEST REPORT
*
* Summary: Runs all integration tests and generates a single report.
*
*********************************************************************************/
task integrationTestReport(type: TestReport) { t ->
group "test"
destinationDir = file("$reportDir/integrationTests")
outputs.upToDateWhen {false}
}
/*********************************************************************************