How We Reached 99% Line Coverage in a React Native App

In October, the mobile app's CI report showed 99.26% line coverage. The number was gratifying, but it was a poor place to start the story. When I joined the consumer engineering team in April, the app had 113 unit-test files and 14 Maestro YAML files. The device flows had existed for years, yet they were not running in CI. A feature could be finished while the work of trusting it still sat ahead of us. My remit as engineering manager covered mobile, backend and web work. Mobile verification was a particular bottleneck because a change could bring a nearby screen back into scope. People repeated checks near release, often without leaving an executable record for the next change. I wanted the
…