The Art of Humble Views: Testing React Native Apps the Smart Way
JavaScript Conferences by GitNation via YouTube
Overview
Explore the concept of 'Humble Views' in React Native app testing through this insightful conference talk from TestJS Summit 2023. Discover a balanced approach to testing that bridges the gap between no tests and 100% coverage. Learn how to extract logic from UI elements into testable parts of the codebase, simplifying the testing process and focusing on business logic. Dive into the Model-View-Presenter (MVP) architecture and its role in creating a logical layer for testing, along with the use of hooks to separate logic from UI components. Gain insights on the trade-offs of this approach, the importance of End-to-End (E2E) tests, and how to achieve the right balance in your testing strategy. Master the art of creating scalable, maintainable, and effectively tested React Native apps through the implementation of 'Humble Views'.
Syllabus
The Art of Humble Views: Testing React Native Apps the Smart Way - Mo Khazali, TestJS Summit 2023
Taught by
JavaScript Conferences by GitNation