Hello world, I'm writing some tests in KMP, and I ...
# multiplatform
x
Hello world, I'm writing some tests in KMP, and I want to compare the result of the test with data in the resource folder. I know how to read data from resources in the JVM (e.g.
this::class.java.getResource(…)
) but is there a more multiplatform way to do this ?
Some googling led to this plugin, but I wonder if there's a builtin way to do this
p
I think the newest version of compose multiplatform 1.6.0 brings experimental resources like this:
Res.drawable.compose_multiplatform
and you might be able to compare them as they are
Resources
classes