Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn React Testing

via Codecademy

Overview

Begin testing quickly with Jest and simplify component testing with React Testing Library.

### Why Learn React Testing?

Do you have the basics of React down and are ready to take the next step? Advance your React skills with one of our new interactive offerings: React Testing.

### Learn React Testing
Begin testing quickly with Jest. The Jest testing framework focuses on simplicity and ease of use, providing all the tools needed to write unit tests.

Simplify component testing with React Testing Library. This popular tool streamlines testing React components and focuses on writing tests from the user's perspective.

### Take-Away Skills

This is a great course for learners who are familiar with React and want to learn new technologies to build production-level applications.

In Learn React Testing you will learn to:
* Build and execute unit tests using the Jest testing library
* Test the rendered output of React components
* Test asynchronous code and mock API calls

Syllabus

  • Jest: Begin testing quickly with Jest.
    • Lesson: Unit Testing with Jest
    • Quiz: Jest
    • Project: Currency Comparison
  • React Testing Library: Simplify component testing with React Testing Library.
    • Lesson: React Testing Library
    • Quiz: React Testing Library
    • Project: CopyCat Testing

Taught by

Kenny Lin

Reviews

4.4 rating at Codecademy based on 183 ratings

Start your review of Learn React Testing

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.