Отчеты KotlinTest jUnit не содержат шагов BehaviorSpec - PullRequest
0 голосов
/ 05 июля 2019

Использование KotlinTest с Gradle.Выполнение тестов в конвейере Jenkins, хотя сгенерированные отчеты не содержат шагов BehaviorSpec.Это делает мои отчеты непригодными для использования.

Кто-нибудь сталкивался с подобной проблемой или знает другой метод создания более описательного отчета.

тестовое задание gradle

test {
    useJUnitPlatform()
    systemProperties = System.properties
    // show standard out and standard error of the test JVM(s) on the console
    scanForTestClasses = false

    // show standard out and standard error of the test JVM(s) on the console
    testLogging.showStandardStreams = true

    // Always run tests, even when nothing changed.
    dependsOn 'cleanTest'

    testLogging {
        events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
    }
}

ступень трубопровода

post {
           always {
           archiveArtifacts artifacts: 'build/libs/**/*.jar', fingerprint: true
                     junit 'build/test-results/test/*.xml'
           }
       }
...