https://kotlinlang.org logo
Join Slack
Powered by
# kotest-contributors
  • b

    Bernd Prünster

    07/08/2025, 9:09 PM
    Still not running any tests on non-JVM targets: https://github.com/a-sit-plus/signum/actions/runs/16153794432/job/45591346213. Same as with any Kotest version past 6.0.0.M1/M2. I really don't know what else to do. Clone Signum (branch
    feature/k2.2.0
    ) if you want to try. The conventions plugin in use is here. It never failed us up until Kotest 6.0.0.M2. I even manually applied Kotest and KSP in all subproject in this commit to mirror the native sample project but still no dice. Either the project config is wrong/incompatible with Kotest 6 or something else is up
    s
    • 2
    • 3
  • b

    Bernd Prünster

    07/10/2025, 5:54 PM
    according to the native sample, all targets but the JVM require kotest-framework-symbol-processor. however that artefact does not exist (see dead link). I don't want to sound ungrateful, because I really am not. But you guys are making it literally impossible to test the new KSP-based implementation if you don't explain how to do it. So please, once again: How do I need to set up a project to try out M5 with KMP projects?
    e
    s
    • 3
    • 20
  • b

    Bernd Prünster

    07/11/2025, 8:37 AM
    well, the KSP approach comes with bugs of its own: https://github.com/a-sit-plus/signum/actions/runs/16215373491/job/45783482830. I'll be following up in a thread with details
    s
    • 2
    • 6
  • b

    Bernd Prünster

    07/11/2025, 6:49 PM
    @Emil Kantis FYI watchosdevicearm64 is also not published
    e
    • 2
    • 3
  • b

    Bernd Prünster

    07/11/2025, 7:51 PM
    FYI: I concocted a multiplatform JUnit XML test reporter here: https://github.com/a-sit-plus/signum/commit/76ee8cb5a0f97972fbd1e0b4d920d263e378ba29 since project config only works on JVM, I had to manually hook it into every test in the
    indispensable
    module. Not pretty but you get the gist of it. feel free to shamelessly copy integrate it into Kotest 😉
    🎉 1
    s
    • 2
    • 29
  • s

    sam

    07/12/2025, 2:39 AM
    https://github.com/kotest/kotest/pull/4939
  • s

    sam

    07/12/2025, 2:40 AM
    This will fix the backticks for JS
  • s

    sam

    07/12/2025, 2:40 AM
    It seems the publishing changes have broken linux targets, they no longer appear for me
  • s

    sam

    07/12/2025, 2:41 AM
    I think this is supposed to have linux included, but that wasn't sufficient https://github.com/kotest/kotest/blob/master/buildSrc/src/main/kotlin/KotestBuildLogicSettings.kt#L33
  • e

    Emil Kantis

    07/12/2025, 5:57 AM
    what's wrong with linux targets? I seem to find them the artifacts at least?
    s
    • 2
    • 12
  • e

    Emil Kantis

    07/12/2025, 5:57 AM
    image.png
  • b

    Bernd Prünster

    07/12/2025, 8:17 AM
    I think we need to discuss the automatic adding of KSP. I tired hte cleaner appraoch @Emil Kantis pushed but for reasons I cannot fathom, JS tests are not running at all
    • 1
    • 10
  • s

    sam

    07/12/2025, 6:58 PM
    https://github.com/kotest/kotest/pull/4945 fixes backticks for native by switching to kotlin poet
    🎉 1
    b
    • 2
    • 2
  • s

    sam

    07/28/2025, 7:07 AM
    As we're about ready to release 6.0, I've added docs for some of the new features coming in Kotest 6 (more to come, especially one on migration / breaking changes) Would appreciate some proof reading (feel free to open Pr with updates): https://kotest.io/docs/next/framework/concurrency6.html https://kotest.io/docs/next/framework/package-level-config.html https://kotest.io/docs/next/framework/sharedtestconfig.html https://kotest.io/docs/next/framework/project-config.html (updated to explain how it works in 6.0) https://kotest.io/docs/next/framework/isolation-mode.html (new section on instance per root and deprecated leaf/test instance)
    🙌 1
    s
    • 2
    • 6
  • e

    Emil Kantis

    07/28/2025, 7:21 AM
    has publishing been working ok @sam?
    s
    b
    • 3
    • 11
  • s

    sam

    07/29/2025, 3:28 AM
    The KMP setup pages have been updated for 6.0 https://kotest.io/docs/next/framework/project-setup.html
  • s

    sam

    07/29/2025, 4:01 AM
    6.0.0.M8 is being released
  • s

    sam

    07/29/2025, 6:05 AM
    M8 is looking solid with the latest intellij plugin
  • s

    sam

    07/29/2025, 6:06 AM
    kotest-intellij-plugin-1.3.0-SNAPSHOT-2025.1.zip
    kotest-intellij-plugin-1.3.0-SNAPSHOT-2025.1.zip
  • s

    sam

    07/29/2025, 1:02 PM
    Can we help flush out https://en.m.wikipedia.org/wiki/Kotest
    l
    a
    • 3
    • 18
  • b

    Bernd Prünster

    07/29/2025, 1:35 PM
    just to confirm: automated JUnit XML reports for native and JS are not yet in M8, right?!
    s
    • 2
    • 1
  • p

    phldavies

    07/29/2025, 4:26 PM
    Should the kotest-bom have been published? I can't seem to find it since M4
    e
    s
    • 3
    • 3
  • s

    sam

    07/30/2025, 2:39 AM
    Started a 6.0 release notes doc here: https://github.com/kotest/kotest/blob/master/documentation/docs/release_6.0.md
    kotest intensifies 2
    a
    • 2
    • 2
  • b

    Bernd Prünster

    07/30/2025, 6:56 PM
    I finally stitched together a clean-and-simple, stand-alone KMP project with manual wiring of the provided JUnit XML reporter here. As you can see, it doesn't nearly produce enough test reports either on macos or on linux. there should be two report files per platform, but if you check the "List reports" output of both jobs, you'll notice two rather lonely files created by the linux test run and eight somewhat less lonely files created by the macos runner. Things don't really get better when adding the junit runner, except that jvm test reports start appearing. so my question is: how to run tests on all targets?
    s
    • 2
    • 38
  • p

    phldavies

    07/30/2025, 9:44 PM
    @sam just seen M9 kick off - but I think kotest-assertions-table and the new decoroutinator extensions are missing from the nmcp aggregations
    s
    a
    • 3
    • 15
  • b

    Bernd Prünster

    07/31/2025, 6:46 PM
    I am kicking off a new 🧵 for browser-based tests. In browser environments, using SystemFileSystem will result in a hard fail (runtime exception). So how does kotlin.test handle it? I don't know but I have a really hacky Idea how we can make it happen: • Start a webserver on a random port (or specify it in the test config) • Let the test runner in the browser push test results to the web server • Let the web server save the reports to disk • ??? • Profit So this hard fail could explain why my prototype didn't even show tests being run, id the file system is accessed early enough. (I'm now AFK for 2-3 hours)
    s
    a
    • 3
    • 16
  • b

    Bernd Prünster

    08/03/2025, 9:45 AM
    In case someone has the capacity to prepare a PR (I currently don't): there's still lots of `println`s in the gradle plugin used for debugging, when it really should be
    project.logger.log(…)
    . Functionally, this is irrelevant for the 6. release, but a cleanup wouldn't hurt. Just to clarify: I'm not talking about the console reporter, but lines like these
    s
    • 2
    • 1
  • s

    sam

    08/08/2025, 3:14 AM
    I'm going to make this change for 6.0 (like right now), let me know if anyone thinks its a bad idea (could revert it) but a breaking change (slightly breaking change) I'd like to get into 6.0 final https://github.com/kotest/kotest/issues/3346
    ✅ 6
  • s

    sam

    08/14/2025, 5:46 PM
    I am releasing M17 which will be the last milestone
  • s

    sam

    08/14/2025, 5:46 PM
    unless I see any blockers on this it'll go to 6.0 final
    please wait 1
    🦜 3
    kotest intensifies 1