mirror of
https://github.com/kochetkov-ma/allure-server.git
synced 2024-11-28 08:38:44 +02:00
38 lines
743 B
Groovy
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
|
|
}
|
|
}
|
|
}
|
|
} |