WhoBuilt

RNTester-E2E: how it started & how it’s going

Sep 3, 2023· 5 min· 272 views·Watch on YouTube

An unnamed Callstack engineer discusses the origins and rollout of end-to-end testing for React Native’s RNTester, developed with contributors from Meta and Microsoft.

Why RNTester needed end-to-end tests

Callstack works with the React Native Core Team and other partners on improvements to the project. In one meeting, the group identified manual testing as a weakness: past releases had bugs that release testing missed.

How the project got started

End-to-end testing was proposed the previous November, and Callstack joined to introduce it in RNTester. Callstack’s QA team helped kick off the work, while contributors from Meta and Microsoft collaborated on choosing a tool.

Building across teams

The speaker thanks Core Team members Lorenzo, Ricardo, and Nicola for collaborating, suggesting changes, and reviewing the large pull request. Callstack contributors included Michał Pierzchała, who brought the teams together, along with QA engineers Mateusz, Michalec, Adrian Orszulik, Szymon, and Ela.

A new area of React Native Core

The work involved creating a new testing capability from scratch rather than adding a feature to an existing component. The speaker says that open-ended work required substantial planning and time.

First phase is running in CI

The initial goal was to catch RNTester issues earlier through end-to-end tests. The framework’s first phase is complete, with one component test running on both Android and iOS in CircleCI; the team is beginning to add tests for broader application coverage.

Takeaways

  • End-to-end tests can help catch release issues that manual testing misses.
  • Cross-team tool selection can align a new testing framework with project partners.
  • A framework can start small: the first RNTester phase runs one component test on Android and iOS.
  • Building new infrastructure from scratch takes planning and sustained effort.

Mentioned in this talk

Search inside this talk

What was claimed 3

Related talks