Comments (3)
If now I have
object KotestProjectConfig : AbstractProjectConfig() {
override var displayFullTestPath: Boolean? = true
}
from kotest-intellij-plugin.
In your build settings for gradle, what do you have set for test runner ?
from kotest-intellij-plugin.
Hi @sksamuel,
Below is how I run the tests via IntelliJ IDEA's GUI.
IntelliJ IDEA 2023.3.4 (Ultimate Edition)
Build #IU-233.14475.28, built on February 13, 2024
Non-Bundled Plugins:
kotest-plugin-intellij (1.3.74-IC-2023.3)
Kotlin: 233.14475.28-IJ
Right click on "test" directory and select "Modify Run Configuration"
It seems the "Kotest Run Configuration" is not created, but a "Gradle Run Configuration" is created in my case.
I think "Gradle Run Configuration" is good thing because my project has both tests written with Kotest (new tests) and JUnit (legacy tests).
But then, which one is the problem in this case?
Kotest reports wrong info to Gradle, or Gradle reports wrong info to IDE, or IDE shows wrong info even everything is correct?
Note that, even though, it's a "Gradle Run Configuration", Kotest plugin is still needed, so that IDE can detect tests to create menu buttons.
from kotest-intellij-plugin.
Related Issues (20)
- Android Studio run from Kotest pannel can't find classes HOT 4
- KMM tests can't be run from common source set if Android is the only JVM target HOT 2
- "Rerun failed tests" runs all tests HOT 1
- Changes to certain Run Configuration options are not saved HOT 1
- Cannot run individual test when tests are located in `jvmTest` and KMP library targets `androidJvm` and `jvm`
- Running tests from a custom compilation uses wrong Gradle task for tests HOT 3
- Conflict between the Kotest plugin and the ability to create new test classes in a java project. HOT 1
- Not using gradle when running a simple spec HOT 3
- Starting an individual test fails with java.lang.NoClassDefFoundError: io/kotest/common/ConcurrentHashMapKt HOT 1
- Add handling of context container for BehaviorSpec HOT 1
- Define the SDK via an option HOT 1
- Kotest plugin isn't working for IntelliJ's most recent version (2023.2.5 - Ultimate Edition) HOT 1
- Running individual tests through the plugin fails
- Nothing here: impossible to navigate to source
- K2 compiler compatibility HOT 14
- Test names containing line breaks are ignored when run individually
- The icon is blurry HOT 2
- Gutter icon runs Kotest spec with Gradle instead of Kotest runner configuration HOT 2
- `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotest-intellij-plugin.