Udemy

Platform

English

Language

Other

Category

[TDD] Learn Test Driven Development with React Native

Everything about testing React Native with TypeScript, Redux, Axios, React-Navigation, forms and native dependencies.

3.79 (7 reviews)

[TDD] Learn Test Driven Development with React Native

Students

4 hours

Content

Apr 2021

Last Update
Regular Price

EXCLUSIVE OFFER
Exclusive  Offer
Unlimited access to 30 000 Premium SkillShare courses
30-DAY FREE TRIAL

What you will 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


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)



Content

Introduction

Overview

Why write tests ?

Why and How to use Test Driven Development

What type of test ?

What tools do we need ?

Ressources

Your very first test

Writing your first test

Writing your first component test

What are we going to build

Ressources

Application basis

Configuring React Native Testing Library

Creating Home Screen

First section (date)

Components (weather)

Location

Navigation

Ressources

Home Screen

Component: Current location (1)

Component: Current location (2)

Component: Current location (result)

Component: Given position (1)

Component: Given position (2)

Ressources

Weather Screen

Setting up Redux

Open Weather API

Redux Store

Weather screen

Conclusion

Ressources

Final project

Content


Reviews

H
Himanshu3 June 2021

This Course has just touched the Testing APIs very briefly. In Depth Details were expected. For eg. 'act' API of jest was just briefly explained. There are many more APIs as well. Would have been better if they would have been explained in Depth


3736010

Udemy ID

12/29/2020

Course created date

5/5/2021

Course Indexed date
Bot
Course Submitted by

Twitter
Telegram