Support tests inside commonTest
See original GitHub issueHello, Stephen. Is it possible to use commonTest directory from MPP project for tests with Kotest? Or is it not supported yet? For now I can import some things like shouldBeExactly
but not others like StringSpec
. Or maybe I just setup wrong artifacts in build.gradle
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
2 Common Test Basics
Support modules provide functions that the test cases use to do the tests. In a black-box testing scenario, Common Test-based test programs connect...
Read more >Common Test For Uncommon Tests
A smooth introduction for Common Test, a testing framework for blackbox and whitebox testing in Erlang, including distributed tests.
Read more >Testing common modules. In Kotlin multiplatform project with…
To support common modules unit testing, Kotlin team made kotlin.test library. ... Once you have it, you can write tests in this module....
Read more >Run tests with Kotlin Multiplatform
By default, Kotlin supports running tests for JVM, JS, Android, Linux, Windows, ... You can use the following test in commonTest :.
Read more >Kotlin-Multiplatform Shared Test Resources
iOS, you need to use the expect / actual pattern typical for KMP. To start, the expected function is defined in commonTest: my-project/src/ ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well kotlin.test has special support from the compiler and the IDE. But it must be running your tests in either the JVM or a JS runner. I’ll look into it.
Once we can support it, we will.