Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Testing React apps with React Testing Library

Posted By: lucky_aut
Testing React apps with React Testing Library

Testing React apps with React Testing Library
Duration: 2h 50m | .MP4 1920x1080, 30 fps(r) | AAC, 44100 Hz, 2ch | 916 MB
Genre: eLearning | Language: English

Welcome to testing React components with React Testing Library! In this course, you will learn lots of things. You will learn:
The principles of Test Driven Development
Know what is React Testing Library (RTL) and its differences with Enzyme (another popular test framework for React)
Understand how Create React App (CRA) works.
Understand how Jest works with RTL
How to test with RTL and query elements with:
getBy, queryBy, findBy, getAllBy, queryAllBy, findAllBy

How to simulate user interaction with the fireEvent API
How to simulate user interaction with the userEvent API
Testing components in isolation (unit tests)
Learn about coverage and debugging
How to mock 3rd party libraries like Axios and mock a GET request
Learn about the pitfalls of CRA
You will have all the fundamental tools to test any React component and have that coverage at 100%!
Have fun, and never stop learning!

More Info

Testing React apps with React Testing Library