React Native supporte le testing à plusieurs niveaux — tests unitaires (logique), tests de composants (avec React Native Testing Library), et tests end-to-end (avec Detox). Une bonne stratégie de testing améliore la fiabilité et la confiance.
Tests unitaires et de composants (Jest + Testing Library)
JEST → the standard JS test runner (unit tests for logic, functions, hooks)
REACT NATIVE TESTING LIBRARY → test components by rendering and interacting with them
(the way a user would) — query elements, fire events, assert on output
