Skip to main content
CourseFlix

Testing React Native Apps

1h 13m 31s
English
Paid

Testing is an essential part of the React Native development process. It ensures that your app works as expected and that new features don’t break existing functionality. In this course, you’ll learn how to test your React Native apps with Jest, React Testing Library, and also Maestro for E2E tests.

Course Overview

This course provides a comprehensive guide to setting up and executing various types of tests in React Native. By the end of the course, you will be equipped with the skills needed to ensure that your app maintains high quality as it evolves.

What You Will Learn

Setting Up Tests in React Native

Learn how to properly configure your development environment for testing in React Native.

Writing Unit Tests with Jest

Master the art of writing unit tests with Jest to validate the logic and functionality of individual components.

Testing Components with React Testing Library

Gain expertise in using the React Testing Library to simulate user interactions and verify component behavior.

Mocking Modules and Testing Fetch Requests

Understand how to efficiently mock modules and test async operations such as fetch requests.

Running End-to-End Tests with Maestro

Explore the capabilities of Maestro to perform end-to-end testing on full application flows.

Benefits of Testing in React Native

Testing provides numerous benefits such as:

  • Improved Reliability: Ensures that each component works correctly.
  • Higher Quality: Facilitates early detection of bugs and issues.
  • Better Maintainability: Simplifies updates and refactors, reducing risk.

By the end of this course, you will have a solid foundation in testing practices that will enhance the quality and reliability of your React Native apps.

About the Author: Simon Grimm

Simon Grimm thumbnail
You may know me from my popular YouTube videos or my other project, Ionic Academy. I transitioned from native iOS development to cross-platform app development 9 years ago and have never regretted it. Developing faster, covering more platforms, and having more fun! I will be your guide on this journey and will happily share all the tips and tricks I've learned over the years so that you can confidently create apps with React Native as well.

Watch Online 13 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 13 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Course Overview
All Course Lessons (13)
#Lesson TitleDurationAccess
1
Course Overview Demo
02:11
2
Testing Libraries & Tools
02:55
3
App Setup
03:08
4
Unit Tests with Jest
09:41
5
Snapshot Tests
05:08
6
React Native Testing Library
10:05
7
Testing User Events
08:46
8
Testing Fetch Requests
09:06
9
Mocking Modules
06:54
10
Setting up Maestro
02:14
11
Creating Flows
07:02
12
Code Coverage Reports
03:27
13
Additional Material
02:54
Unlock unlimited learning

Get instant access to all 12 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription