Code Monkey home page Code Monkey logo

Comments (3)

xuanswe avatar xuanswe commented on September 1, 2024

If now I have

object KotestProjectConfig : AbstractProjectConfig() {
  override var displayFullTestPath: Boolean? = true
}

image

from kotest-intellij-plugin.

sksamuel avatar sksamuel commented on September 1, 2024

It works for me
image

In your build settings for gradle, what do you have set for test runner ?

from kotest-intellij-plugin.

xuanswe avatar xuanswe commented on September 1, 2024

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

image

Right click on "test" directory and select "Modify Run Configuration"
image

image

image

image

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.