Has anyone gotten JaCoCo test coverage analysis wo...
# spek
m
Has anyone gotten JaCoCo test coverage analysis working with Spek? I had working JaCoCo coverage for my old JUnit4-based tests, but I don't get them on the new Spek ones. I've got the following relevant config in my build.gradle:
Copy code
apply plugin: 'jacoco'
apply plugin: 'org.junit.platform.gradle.plugin'
jacoco {
    toolVersion = "0.7.9"
    reportsDir = file("${buildDir}/reports/jacoco")
}

jacocoTestReport {
    reports {
        xml.enabled true
        csv.enabled false
        html.destination file("${buildDir}/reports/jacoco/html")
    }
}

junitPlatform {
    filters {
        engines {
            include 'spek', 'junit-jupiter', 'junit-vintage'
        }
    }
    enableStandardTestTask true
}
Is there anything else I should be tweaking? The project now only has Spek-based tests.