YoVDO

React Testing Library Tutorial

Offered By: Net Ninja via YouTube

Tags

React Courses Web Development Courses Software Testing Courses

Course Description

Overview

Dive into a comprehensive tutorial series on testing React applications using React Testing Library. Explore the importance of testing, different types of tests, and the structure of effective test cases. Master query methods, learn about their priority, and practice using them in real-world scenarios. Gain proficiency in writing assertions, organizing tests with describe blocks, and simulating user interactions through fire events. Advance your skills with integration tests, asynchronous element finding, and mocking requests. Optimize your testing workflow by understanding the use of beforeEach and afterEach hooks. By the end of this 2.5-hour tutorial, you'll have a solid foundation in React Testing Library and be equipped to write robust tests for your React applications.

Syllabus

React Testing Library Tutorial #1 - Introduction.
React Testing Library Tutorial #2 - The Importance of Testing.
React Testing Library Tutorial #3 - Types of Test.
React Testing Library Tutorial #4 - Structure of Tests.
React Testing Library Tutorial #5 - Intro to Query Methods.
React Testing Library Tutorial #6 - Priority.
React Testing Library Tutorial #7 - Using Query Methods.
React Testing Library Tutorial #8 - Assertions.
React Testing Library Tutorial #9 - Describe Block.
React Testing Library Tutorial #10 - Fire Events.
React Testing Library Tutorial #11 - Integration Tests.
React Testing Library Tutorial #12 - Finding Async Elements with FindBy.
React Testing Library Tutorial #13 - Mocking Requests.
React Testing Library Tutorial #14 - Before &After Each.


Taught by

The Net Ninja

Related Courses

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX