Prepared 2.6.0 is out and we finally have the gree...
# opensavvy
c
Prepared 2.6.0 is out and we finally have the green arrows for tests with both Kotest and TestBalloon! It only works if the test is declared in the same file as the test root, however. https://kotlinlang.slack.com/archives/C0BJ0GTE2/p1786626917584999
o
It only works if the test is declared in the same file as the test root, however.
In contrast to "a test or test suite function residing in a dependency"?
c
If you declare a function
Copy code
fun SuiteDsl.foo() { … }
and invoke it in another file
Copy code
val t by preparedSuite { foo() }
you won't get the arrows inside
foo()
That's because both plugins only recognize their specific subtype of suite and not the actual common suite, so as soon as receiver gets upcasted the integration is lost
It's still better than previous versions though (which would only show the top-level suites for the TestBalloon integration)
For full blown integration we'd need something like we discussed at KotlinConf
o
Understood, thanks!