Testing

Unit & integration

npm test

iOS simulator E2E

Default simulator: iPhone 17 Pro Cursor (UDID C11A619C-CA50-4559-A874-7AB50276958A).

Override with LAKEBED_NATIVE_IOS_SIMULATOR or --device.

# Boot and use default simulator
npx lakebed-native shell build --platform ios --profile simulator

# All CLI device commands default to iPhone 17 Pro Cursor
npx lakebed-native open --url "lakebed-native://capsule?server=http://localhost:3000&bundle=http://localhost:3100"
agent-device open org.name.LakebedNative --platform ios --device "iPhone 17 Pro Cursor" --relaunch
agent-device snapshot -i --platform ios --device "iPhone 17 Pro Cursor"

Inspect during tests

npx lakebed-native db list
npx lakebed-native inspect
npx lakebed-native logs
npx lakebed-native auth as alice

Runtime mismatch test

Deploy a capsule requiring a newer runtime; shell shows actionable error with fix instructions.