Hamza

    Hamza

    3 years ago
    hey, has anyone able to get junit 5 to work with a multiplatform project? I am using JUnit5 on the JVM to run the tests, and i have
    use gradle runner
    selected in my IDEA preferences. Whenever I try to run the tests though, I get the [included] error. [stacktrace mode enabled] When i try running
    gradle jvmTest
    though, it succeeds without any problems.
    My Test Class:
    My buil file
    Liliia

    Liliia

    3 years ago
    Hamza

    Hamza

    3 years ago
    What are the alternatives? i’m trying to get some unit tests running, but kotlin-test doesn’t have some annotations i want to use
    Evgeniy Zaharov

    Evgeniy Zaharov

    3 years ago
    with new gradle plugin I don’t know how to integrate junit5, but with old multiplatform gralde plugin, all works fine. See for example:https://github.com/alfa-laboratory/kgen-doc-tools/blob/master/build.gradle
    Hamza

    Hamza

    3 years ago
    yeah, but i don’t wanna go back to theold version
    Evgeniy Zaharov

    Evgeniy Zaharov

    3 years ago
    it would be great if JB will support in new multiplatform plugin support for main popular developer tools for specific platform (like junit, spock etc)