question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support tests inside commonTest

See original GitHub issue

Hello, 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:closed
  • Created 3 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sksamuelcommented, Jun 7, 2020

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.

0reactions
sksamuelcommented, Jun 7, 2020

Once we can support it, we will.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found