UnconfinedTestDispatcherA dispatcher that behaves likeDispatchers.Unconfined. Using in your project Addkotlinx-coroutines-testto your project test dependencies: Do notdepend on this project in your main sources,
kotlinx-coroutines-test api common js jvm native npm wasmJs wasmWasi MIGRATION.md README.md build.gradle.kts license reactive site test-utils ui .gitignore CHANGES.md CHANGES_UP_TO_1.7.md CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE.txt ...
test: avoid Dispatchers.Main before setting dispatcher … 953c1b2 build(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-test … 1a13300 david-allison force-pushed the dependabot/gradle/dependency-updates/org.jetbrains.kotlinx-kotlinx-coroutines-test-1.10.0 branch from 13e60bc to 1...
Bumps org.jetbrains.kotlinx:kotlinx-coroutines-test from 1.10.0 to 1.10.1. Release notes Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-test's releases. Version 1.10.1 Fixed binary incomp...
Describe the bug When updating a project to use kotlinx.coroutines 1.7.0-Beta, existing tests fail with a NoSuchMethodError for a runTest that's being called internally by the Compose test utilities. The full stack trace looks like the f...
Update kotlinx-coroutines-test #2973 Merged dkhalanskyjb added a commit that referenced this issue Nov 17, 2021 Implement 'runTest' that waits for asynchronous completion (#2978) … 104c507 dkhalanskyjb added a commit that referenced this issue Nov 17, 2021 Implement 'runTest' that...
Move the test facilities lying around `kotlinx-coroutines-core` and their reimplementation in `kotlinx-coroutines-test` into a separate module, on which the other modules now depend. This allows us to have internal testing facilities in common code. After the migration, the test facilities ...
It was an intentional goal to support using pieces of this library it to build alternative implementations as it sits in kotlinx-coroutines. Before you do - take a look at some of the test cases in the repo that fail with this change to make sure you're happy with the API surface. ...
This seems to be as useful for predictable tests as replacing Dispatchers.Main. See discussion in #242 and #890. 👍 36 elizarov added the enhancement label Feb 12, 2019 This was referenced Feb 12, 2019 EspressoIdlingResource integration #242 Closed Update TestCoroutineContext to support...
Kotlin / kotlinx.coroutines Public Notifications Fork 1.9k Star 13.3k Code Issues 282 Pull requests 24 Discussions Actions Projects Security Insights New issue TEST PR permissions 2 #4375 Closed dkhalanskyjb wants to merge 3 commits into kotlin-community/dev-with-codeowners from dk...