Razorpay Shubhnik Singh Mann Jan 31, 2022

Releasing Features with Confidence in Mobile Apps

Article Summary

Shubhnik Singh Mann from Razorpay reveals why most mobile teams are testing wrong. Their approach eliminated P0 production issues entirely.

Razorpay's mobile team shares their battle-tested strategy for shipping React Native features without regression. They break down the difference between tests that catch bugs and tests that just waste time, using real examples from their Payment Link feature.

Key Takeaways

Critical Insight

Razorpay's shift to user-focused integration testing enabled them to ship major refactors and new features with zero P0 production issues.

The article includes a side-by-side comparison showing how the same bug passes with Enzyme but fails with their recommended approach.

About This Article

Problem

Mobile app teams face long app store review cycles that make regressions expensive. This forces them to pick between moving fast with features or being careful with manual testing.

Solution

Razorpay built a two-part testing approach with Jest and react-native-testing-library. They combined component tests that cover both units and integration points with e2e UI tests to catch regressions automatically.

Impact

The team shipped major refactors and new features without any P0 production issues. Developers could iterate faster while SonarQube tracked code coverage in their CI pipeline.