anyone ever set up a KMP library that also ships t...
# multiplatform
z
anyone ever set up a KMP library that also ships test fixtures on the JVM? I’m struggling to find any examples in the wild of this
p
Not exactly sure what you are looking for but, fwiw, I have written a test library that times tests and reports tests over a threshold. Up till now it has been used only in JVM projects. Now I am switching many (all) of my active libraries to KMP. Using IntelliJ I see no issues. Using Fleet I see an issue in that the test library uses JUnit4 where the using libraries use JUnit 5 so Fleet complains. I am inclined to lose the library and figure out a JUnit 5 only solution but have not done so yet. You can see examples on GitLab: test library and a using library
z
Sorry completely unrelated to what I’m asking :)
p
No problem.
s
Sorry to resurrect a 5 month old question, but have you found or created an example of this? It looks like test fixtures are maybe only supported for JVM and Android? I'm just starting to dig into this.