3.79 (7 reviews)
☑ 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
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.
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)
Why write tests ?
Why and How to use Test Driven Development
What type of test ?
What tools do we need ?
Your very first test
Writing your first test
Writing your first component test
What are we going to build
Configuring React Native Testing Library
Creating Home Screen
First section (date)
Component: Current location (1)
Component: Current location (2)
Component: Current location (result)
Component: Given position (1)
Component: Given position (2)
Setting up Redux
Open Weather API
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