From 470fc8200c537e2a51488933d17a9e3843c87591 Mon Sep 17 00:00:00 2001 From: Tyler Bertrand Date: Thu, 2 Nov 2023 16:18:47 -0500 Subject: [PATCH] Add kotest to supported engines in gradle-test-pts-support scripts --- .../capture-test-pts-support/gradle-test-pts-support.gradle | 3 ++- .../gradle-test-pts-support.gradle.kts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build-data-capturing-gradle-samples/capture-test-pts-support/gradle-test-pts-support.gradle b/build-data-capturing-gradle-samples/capture-test-pts-support/gradle-test-pts-support.gradle index ea89dec39..25739aa52 100644 --- a/build-data-capturing-gradle-samples/capture-test-pts-support/gradle-test-pts-support.gradle +++ b/build-data-capturing-gradle-samples/capture-test-pts-support/gradle-test-pts-support.gradle @@ -32,7 +32,8 @@ class Capture { 'org.spockframework.runtime.SpockEngine' : 'spock', 'net.jqwik.engine.JqwikTestEngine' : 'jqwik', 'com.tngtech.archunit.junit.ArchUnitTestEngine' : 'archunit', - 'co.helmethair.scalatest.ScalatestEngine' : 'scalatest' + 'co.helmethair.scalatest.ScalatestEngine' : 'scalatest', + 'io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine' : 'kotest-runner' ] private Logger logger diff --git a/build-data-capturing-gradle-samples/capture-test-pts-support/gradle-test-pts-support.gradle.kts b/build-data-capturing-gradle-samples/capture-test-pts-support/gradle-test-pts-support.gradle.kts index 1e2e415b8..2b46834df 100644 --- a/build-data-capturing-gradle-samples/capture-test-pts-support/gradle-test-pts-support.gradle.kts +++ b/build-data-capturing-gradle-samples/capture-test-pts-support/gradle-test-pts-support.gradle.kts @@ -35,7 +35,8 @@ class Capture(val logger: Logger) { "org.spockframework.runtime.SpockEngine" to "spock", "net.jqwik.engine.JqwikTestEngine" to "jqwik", "com.tngtech.archunit.junit.ArchUnitTestEngine" to "archunit", - "co.helmethair.scalatest.ScalatestEngine" to "scalatest" + "co.helmethair.scalatest.ScalatestEngine" to "scalatest", + "io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine" to "kotest-runner" ) fun capturePts(t: Test, api: BuildScanExtension) {