Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
[TDD] Learn Test Driven Development with React Native
Rating: 3.8 out of 5(110 ratings)
771 students

[TDD] Learn Test Driven Development with React Native

Everything about testing React Native with TypeScript, Redux, Axios, React-Navigation, forms and native dependencies.
Created byTeddy Morin
Last updated 2/2023
English

What you'll learn

  • How to test React Native with TypeScript, Redux, and Axios
  • What is Test Driven Development and how to put it in practice
  • Understand what is testing and the different types of tools
  • Testing good practices and which tools to use
  • How to handle native dependencies while testing
  • How to write tests for forms (made with react-hook-form)
  • The Testing Library family of packages with Jest
  • Unit and Integration testing

Course content

6 sections32 lectures4h 4m total length
  • Overview1:37
  • Why write tests ?2:38
  • Why and How to use Test Driven Development1:37
  • What type of test ?1:12
  • What tools do we need ?4:37
  • Ressources0:04

Requirements

  • Knowledge of React & React Native with how to use Hooks
  • Knowledge of JavaScript with how to use Promise & Async
  • A working computer with NodeJS & React Native environment setup
  • Understanding of Redux (Redux-Saga appreciated)

Description

Testing is a must-known and valuable skill in software development.

With an ecosystem growing quickly, several similar tools and few courses or lacking knowledge on the field, my journey with testing has not been the easiest one. Now that I took the right choices and practiced for several years, I want to share my expertise so you become able to write tests the right way !

I don't want to merely show you how to write a test but to introduce the different ways to do it, what I think are the right ones and what is used in the workplace, from my experience.

Knowing how to write tests for a React Native application allows you to quickly be able to test a ReactJS application. Moreover, React Native is quite difficult to test, partly because of the use of native dependencies. These are the reasons that pushed me to write this course.

What are we going to build ?

The first step will be to expose some of the knowledge, tools and best practices needed. The course will focus on React Native without Expo, but will refer to the documentation needed to use Expo.

After laying out the necessary knowledge, tools and good practices we are going to build a Weather Application.

Featuring :

  • React Native and TypeScript

  • Redux & Redux-Saga

  • API calls with Axios

  • Forms with react-hook-form

  • Routing with react-navigation

  • Jest and the React Native Testing Library

  • Geolocation and OpenWeatherMap API

  • Test Driven Development-Style

What this course is not

This won't be a deep-dive into APIs for react-dom/test-utils or jest.

Theorical and unopinionated courses about those already exists. Here you will be presented with:

  • A explanation of those tools, which ones you need, and why

  • How to put them into practices, in a challenging environment

  • How companies use them on a daily basis (with some more complicated cases)

  • Where to find more informations (documentation)

Who this course is for:

  • React Native developers looking to discover testing with React Native
  • Experienced developers looking to improve their testing / TDD skills with React Native