Paulo Cereda
06/23/2025, 9:03 PMcommonTest/
that relies on the kotlin.test
framework. I have 4 tests that should have different behaviours when running on Windows and Unix. Is there something available in kotlin.test
that I could use to skip the test if, e.g, running on Windows? Maybe something like JUnit's assumeThat
. That way I could transform these 4 tests into 8 tests, 4 for each platform. 😊 Thanks!hfhbd
06/23/2025, 9:08 PMhfhbd
06/23/2025, 9:08 PMPaulo Cereda
06/23/2025, 9:16 PMSystem.getProperty("os.name")
check that helped me choose different paths for Windows and Unix (e.g, C:/foo
and /foo
). I'll go with that. 😉