skydoves/android-testing-skills/testing-coroutines-with-runtest
Use this skill to test suspend functions and coroutine-using classes on the JVM with kotlinx-coroutines-test. Covers runTest, TestScope, StandardTestDispatcher vs UnconfinedTestDispatcher, virtual time via TestCoroutineScheduler (advanceTimeBy, advanceUntilIdle, runCurrent), the canonical MainDispatcherRule wrapper for Dispatchers.setMain/resetMain, the TestResult Promise contract on KMP, and the runBlockingTest -> runTest migration. If the user mentions runTest, runBlockingTest deprecated, adva
Agent skill · version 1.0.0 · from skydoves/android-testing-skills
Install
npx yarkr-cli add skill:skydoves/android-testing-skills/testing-coroutines-with-runtestWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:skydoves/android-testing-skills/testing-coroutines-with-runtest
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:skydoves/android-testing-skills/testing-coroutines-with-runtestOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:skydoves/android-testing-skills/testing-coroutines-with-runtestWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.