How Skyscanner Tests RN Bridges on iOS
summary
Skyscanner adapts Facebook’s RN test runner to run each bridge test independently by passing initial parameters (test method name, mock preconditions, and per-test timeout) into the iOS test module, invoking the named JavaScript function and throwing an exception on failure. The result surfaces as an isolated Xcode test per JS method, so failed tests don’t abort the suite and CI doesn’t wait two minutes per hang. It adds small bridge-call overhead but gives clear, per-test pass/fail and easier native mocking.
AI-written summary · about
related talks
30mScale-up iOS Automated UI Tests
23mBreaking Down React Native Bridging
28mAdvanced Techniques in iOS UI Testing
26mReact Native at Skyscanner: The Good Parts
37miOS Test Automation to Infinity and Beyond
33miOS Engineer’s Journey in the Realm of React Native
34mReact Native - Under The Bridge
22mThe great Divide: Bridging Native Modules And React Native
