1
0
mirror of https://github.com/kochetkov-ma/allure-server.git synced 2024-11-28 08:38:44 +02:00
allure-server/gradle/testing.gradle
Maxim Kochetkov 8a87ce1ad9 remove pitest
2020-05-01 20:20:29 +03:00

38 lines
743 B
Groovy

////// junit //////
test {
minHeapSize = "256m"
maxHeapSize = "2G"
reports {
junitXml.enabled = true
html.enabled = true
}
testLogging {
showCauses true
showStackTraces true
showExceptions true
/* events "started", "skipped", "failed" */
exceptionFormat "full"
}
jacoco {
enabled = true
}
finalizedBy jacocoTestReport
}
////// jacoco //////
jacocoTestReport {
reports {
xml.enabled true
csv.enabled false
html.enabled true
}
}
jacocoTestCoverageVerification {
mustRunAfter jacocoTestReport
violationRules {
rule {
limit {
minimum = 0.7
}
}
}
}