Parallel test runner for Kotlin Multiplatform and Android Gradle projects. v0.6.2 is the current stable release, with frequent iterative releases (10+ versions since v0.3.7). Key differentiator: token-efficient output for AI coding agents — provides markdown-summarised stdout or single-line JSON envelopes, reducing token cost up to 1200× vs raw Gradle output. Supports parallel, coverage, changed, and benchmark test modes with summary JSON, parallel execution, and lockfile-based concurrent-invocation safety. Requires Node >=18 and a Gradle-based KMP or Android project.
npm install kmp-test-runnerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to programmatically run parallel and coverage tests with JSON output, handling errors and test counts.
Ensure Gradle JDK toolchain matches the runtime JDK, or use --no-fail-on-toolchain-mismatch flag.
Use --force flag to bypass lockfile (careful: may corrupt output) or wait for first run to finish.
Check build-logic files for unintended coverage signals. Consider --no-detect-build-logic-coverage.
Replace --no-summary with --json.
Update consumer code to handle objects with property 'source' ('convention' or 'self').Check dry_run field before consuming test counts.
Run 'npm install -g kmp-test-runner' for CLI or 'npm install kmp-test-runner' for programmatic use.
Use 'import { runTests } from "kmp-test-runner"'.Check module names: use --list-modules to see available modules, adjust filter pattern.
Install JDK 21+ or set GRADLE_HOME to a compatible JDK version. Use --no-fail-on-toolchain-mismatch to disable blocking error (v0.5.0+).
Wait for other process to finish, or kill it. Use --force to override (risks output corruption).
No dependency data recorded yet.