• Sources: primary
  • Summary: Shopify splits each native app into a UI-free Core module and a Mobile module, and every ViewModel exposes its state and actions through an introspection node that a CLI drives without a simulator. The same Bun-based test file runs against Swift and Kotlin builds, a PR cannot merge unless it passes on both, and the 1,700+ behavior tests finish in about four minutes on CI with network access blocked.
  • Why it matters: It shows a concrete way to give coding agents a fast feedback loop on mobile code by testing ViewModel state instead of rendered UI.