Shopify Reflex: faster app tests still need visual checks
Shopify’s Reflex architecture shares behaviour tests across native mobile apps. Here is what founders can ask their app teams to prove.
Shopify has published Reflex, the architecture behind agent-driven testing of its native mobile apps. The 5 November engineering account describes separate Swift and Kotlin implementations checked by a shared behaviour-test suite.
Its central idea is to expose app state and actions through a consistent contract. A command-line tool can then exercise the underlying logic without drawing the interface or starting a phone emulator. Shopify reports that more than 1,700 behaviour tests finish in about four minutes on CI across both platforms; that is its own engineering result, not a benchmark for other teams.
There is no standalone Reflex library being released. Shopify presents the architectural explanation as the transferable material, while its internal implementation depends on its own navigation, sessions and test fixtures. Visual review and selected screenshot and integration tests still have a role.
What a commerce app team can take from it
For a founder commissioning an app, the useful question is how the team proves that a customer journey behaves consistently on both platforms. Our recommendation is to ask for one concrete example: a customer opens an order, requests its delivery details and encounters an expired session. The desired result should be specified before either implementation is changed.
That example can expose gaps hidden by a happy-path demo. Does each platform ask the customer to sign in again? Does it return to the correct order afterwards? Does a failed request leave old tracking information on screen? A shared acceptance description gives the owner something meaningful to review with the developer.
The architecture is most relevant to teams that control their app code. It is not a Shopify admin setting or a requirement to rebuild a working merchant app. Ask the development partner what problem a change would solve, what existing coverage would be retained and how the cost compares with improving the current test suite.
Keep the visual checks
A correct underlying state does not by itself prove that someone can read, reach or understand a control on a phone. In your own acceptance criteria, keep checks for small screens, enlarged text, keyboard interaction, accessibility and platform-specific behaviour alongside the logical journey tests.
That division of responsibility is the practical takeaway: make behavioural failures quick to reproduce, while keeping an explicit check of the experience customers actually use. The value of a testing proposal should be judged by the failures it catches and the evidence it produces.
Original Shopify video accompanying the November engineering post. Watch on YouTube, or read Shopify Engineering’s announcement.
More from Shopify
See all →

Before Black Friday, test what a Shopify webhook retry sends twice
