Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit de81942

Browse files
rezammalikKantis
andauthored
Update from TaycanReporter to EnhancedConsoleTestEngineListener (#46)
Co-authored-by: Emil Kantis <e.kantis@gmail.com>
1 parent 67d6f4f commit de81942

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

buildSrc/src/main/kotlin/Ci.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
object Ci {
22

33
// this is the version
4-
private const val baseVersion = "0.3"
4+
private const val baseVersion = "0.4"
55

66
private val githubBuildNumber = System.getenv("GITHUB_RUN_NUMBER")
77

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
2-
kotlin = "1.4.32"
3-
kotest = "4.4.3"
2+
kotlin = "1.6.10"
3+
kotest = "5.5.5"
44
coroutines = "1.6.3"
55

66
[libraries]

src/main/kotlin/io/kotest/gradle/Kotest.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ open class Kotest @Inject constructor(
3030

3131
companion object {
3232
private const val IntellijTestListenerClassName = "IJTestEventLogger"
33-
private const val ReporterArg = "--reporter"
33+
private const val ListenerArg = "--listener"
3434
private const val TermArg = "--termcolor"
3535
private const val TagsArg = "--tags"
36-
private const val TeamCityReporter = "teamcity"
37-
private const val TaycanReporter = "io.kotest.engine.reporter.TaycanConsoleReporter"
36+
private const val TeamCityListener = "teamcity"
37+
private const val EnhancedConsoleTestEngineListener = "enhanced"
3838
private const val PlainColours = "ansi16"
3939
private const val TrueColours = "ansi256"
4040
}
@@ -75,8 +75,8 @@ open class Kotest @Inject constructor(
7575

7676
// -- reporter was added in 4.2.1
7777
private fun args() = when {
78-
isIntellij() -> listOf(ReporterArg, TeamCityReporter, TermArg, PlainColours) + tagArgs()
79-
else -> listOf(ReporterArg, TaycanReporter, TermArg, TrueColours) + tagArgs()
78+
isIntellij() -> listOf(ListenerArg, TeamCityListener, TermArg, PlainColours) + tagArgs()
79+
else -> listOf(ListenerArg, EnhancedConsoleTestEngineListener, TermArg, TrueColours) + tagArgs()
8080
}
8181

8282
private fun exec(classpath: FileCollection): JavaExecAction {

0 commit comments

Comments
 (0)