Course's logo Course
pro
Testing React Native Apps
13 videos 1 hrs 13 mins 04 April 2024
React
Typescript
Simon Grimm
Simon Grimm
start course start course

Course Decription

Testing is an essential part of the 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.

start course start course

💪 Set Up

Course Overview

What are we building in this course, and what will you learn? Let's take a quick look at the course and all objectives!

2 min
view

Testing Libraries & Tools

In this lesson, we'll take a look at some of the most popular libraries and tools for testing React applications including Jest, React Testing Library, and Maestro.

3 min
view

App Setup

This video covers the setup of the course app. We will install the required dependencies and create the app for our test cases.

3 min
view

⚙️ Unit & Integration Testing

Unit Tests with Jest

Learn how to write unit tests with Jest

10 min
view

Snapshot Tests

Understand how to write snapshot tests for React Native components using the renderer package.

5 min
view

React Native Testing Library

We set up React Native Testing Library to test our React Native components.

10 min
view

Testing User Events

We get practical by testing user events with React Native Testing Library. We'll learn how to use fireEvent and userEvent to simulate user interactions like typing, clicking, and scrolling.

9 min
view

Testing Fetch Requests

In this video, we'll write a test for a component that makes a fetch request to an API.

9 min
view

Mocking Modules

Learn how to mock modules in your tests using the `jest.mock` function.

7 min
view

👀 E2E Tests

Setting up Maestro

Learn to set up Maestro for end to end testing in your React Native app.

2 min
view

Creating Flows

Learn how to create a flow with Maestro Studio to test your React Native app.

7 min
view

😮‍💨 Tear Down

Code Coverage Reports

Learn how to generate code coverage reports for your Tests.

3 min
view

Additional Material

Extend your knowledge with additional material.

3 min
view

© 2023 Galaxies.dev. All rights reserved.