When to use it. Before you push, run the project’s unit tests on a clean machine and get the failing test by name
Run it
box test --platform android: 1 passed, 0 failed
testDebugUnitTest: every JVM unit test under src/test. Instrumented tests under src/androidTest do not run, and --only-testing is not used on Android
JetLagged ships only instrumented tests, so for this page we added one test file to the sample, with one test that fails on purpose (and testImplementation(libs.junit) in app/build.gradle.kts)
Job
bj_n-iRg8tpNO0S3RD5 on a production Android machine: 60s billed, $0.02What you get
- One line per failing test (
FAIL class/test) and a count; the job exits 1 when a test fails .box/out/<job>/test.log, the Gradle log, andtest-summary.json, the counts and the failing test names--jsonprints one JSON event per line, so an agent reads the result without parsing text
