When to use it.
- Before you push, to know the tests pass on iOS
- After your agent changed code, so it can see its own failing test and fix it
Run the tests
box test running the Tally unit and UI tests on a fresh simulator
Job
bj_NWidfRUrt0Hz0o0a on the production Mac: 180 s billed, $0.15When a test fails
Here one test expects the counter to start at 1 while the app starts it at 0. box prints the count, then each failing test with the assertion message, and exits with 1Job
bj_aDxtZUJUe0bpuoFx on the production Mac: 180 s billed, $0.15why.txt; see Why it failed. test-summary.json holds the same counts for a script, and test.xcresult.zip opens in Xcode
Tests and a picture in one job
--screenshot launches the app after the tests in the same job and saves what the simulator showed

out.png from that job, made smaller for this page
Job
bj_19x_hL2PNV9uyDUY on the production Mac: 60 s billed, $0.05