Buy Now and unlock this series
$
39
.99
yours forever
$
39
.99
Become a Pro and unlock everything
$
24
.99
per month
$
24
.99
Events In React Testing Library
We will now be testing various events in React Testing Library. This is important part of testing because you want to create tests that check the function you created and tell you if that event you wrote had the correct outcome.
Downloads
Become a pro to download code and videos
React Testing For Beginners
24 videos
Course Instructor
Scott Tolinski
- React Testing for Beginners
1M15S - Introduction To Testing With Jest
11M59S - Jest Explained
8M37S - Writing Unit Tests With Jest
13M12S - Writing Integration Tests
8M2S - Mock Functions & Why
9M16S - Mocking Modules
14M12S - Introduction To React Testing
6M51S - React Testing Library & Debug
13M11S - Testing With Test Ids
8M25S - Events In React Testing Library
10M47S - Integration Testing In React & Cleanup
17M47S - Snapshot Testing 101
8M12S - Spying & Mocking Functions in React
9M50S - Form Events With Controlled Inputs
11M42S - Testing For Errors & Global Mocks
7M45S - Negative Assertions & Testing With React Router
9M33S - What To Test
9M17S - Mocking Fetch
9M53S - Mocking Fetch Part 2 Async Tests & Working With Data
12M49S - Testing Loading States & More Pitfalls
18M48S - Refactoring With Tests
9M5S - Code Coverage
4M31S - Where To Go From Here
3M21S
Comments
bobo
about 1 year ago
I dont understand the eslint adding to globals S:
is it because we are using it in different files?
bobo
about 1 year ago
This course is a gem. Shame there is so much crap on youtube that this gets burried amoungst all the lame money grabing garbage. This is exceptional. A++ thank you
Raul
about 2 years ago
@Rodrigo Picanco Good point! It really just depends on what you expect to get out of your tests and how deeply you want your app covered. For the case in the video test/expect is sufficient.
Rodrigo Picanco
over 3 years ago
Hey Scott,
So, I wonder why use the test/expect syntax since the describe/it is way more meaningfull.
What do you think?
Thanks a lot for the amazing content!
Want to join the conversation?
Become a Pro member today!