question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot launch tests with latest kotest plugin and framework

See original GitHub issue

Using plugin version 1.0.5 kotest version 4.3.2 kotest-runner-console-jvm version 4.1.3.2 I get the following when I launch a test:

Testing started at 10:38 ...
Error: Unable to initialize main class io.kotest.runner.console.LauncherKt
Caused by: java.lang.NoClassDefFoundError: io/kotest/core/engine/TestEngineListener

Process finished with exit code 1

Seems like that class has moved

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
bryan-nzcommented, Jan 29, 2021

I’m not sure if this is related, but I was just trying the 2021.1 EAP version of intellij with kotest 4.3.1 and plugin 1.0.5 And I’m seeing this error: 16:06 Kotest Add io.kotest:kotest-runner-console-jvm to your build to execute tests using the kotest plugin. Required version is 4.1.0 or higher.

2reactions
sksamuelcommented, Jan 29, 2021

You don’t need the console dependency. Just add kotest-engine-jvm or kotest-runner-junit5-jvm Where did you read about console? I will correct the docs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kotest 4.1.1 doesn't discover tests (4.0.2 does that pretty well)
If I execute tests via Kotest plugin - everything is smooth. ... loading of a project, when I run a test, test framework...
Read more >
Quick Start | Kotest
The Kotest test framework is supported on JVM, Javascript and Native. To enable Kotest for multiple platforms, combine the steps for the individual...
Read more >
Why IntelliJ Kotest plugin does not work well? - Stack Overflow
It allows me to create Kotest tests for/from my Kotlin classes, but those tests are not runnable from the test classes. The kotest...
Read more >
"Test events were not received" when trying to run ... - YouTrack
Try to run tests with IJ Test runner with gradle selected as test runner and testng framework. To reproduce this, click the play...
Read more >
Test in Android Studio
Note: When you run local unit tests, the Android Gradle plugin includes a library that contains all the APIs of the Android framework, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found