React Testing with React Testing Library and Vitest/Jest
Offered By: Programming with Mosh via YouTube
Course Description
Overview
Learn how to effectively test React applications using React Testing Library and Vitest/Jest in this comprehensive tutorial. Discover essential techniques for testing React components, including rendering, user interactions, and lists. Follow along with practical exercises to test UserAccount, ProductImageGallery, and ExpandableText components. Master the art of simplifying test setups and writing efficient tests to ensure the reliability and quality of your React projects. Gain valuable insights into setting up the development environment, configuring Vitest, and leveraging React Testing Library for robust testing practices.
Syllabus
– Introduction
– Prerequisites
– Course Structure
– How to Take this Course
– Setting Up the Development Environment
– Setting Up the Starter Project
– Setting Up Vitest
– Setting Up React Testing Library
– Testing React Components
– What to Test
– Testing Rendering
– Simplifying Test Setup
– Exercise: Testing UserAccount
– Announcement
– Testing Lists
– Exercise: Testing ProductImageGallery
– Testing User Interactions
– Exercise: Testing ExpandableText
– Simplifying Tests
Taught by
Programming with Mosh
Related Courses
React.js Essential TrainingLinkedIn Learning React.js Essential Training
LinkedIn Learning Practical Next.js & React - Build a real WebApp with Next.js
Udemy React and APIs - Full Tutorial - Hacker News API Application
freeCodeCamp React Testing Crash Course
Traversy Media via YouTube