Buy Now and unlock this series
$
39
.99
yours forever
$
39
.99
Become a Pro and unlock everything
$
24
.99
per month
$
24
.99
Introduction To React Testing
Here, we will begin actually testing in React. We will continue to use Jest but in this video we will start working on a real world project. Check out the Level Up Tuts GitHub page below for the sample code.
https://github.com/leveluptuts/React-Testing-For-Beginners
git clone https://github.com/leveluptuts/React-Testing-For-Beginners.git
cd React-Testing-For-Beginners
yarn
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
Ania
6 months ago
I do love Syntax podcast and I'm here because of it. So I had high expectations about those courses. But unfortunately it's outdated and every repo so far in this course has errors.
I feel disappointed :(
Bobo
about 1 year ago
Hey which course has this code? i like the styled component and the react components you built i would like to go through it
Alex
almost 2 years ago [edited]
If any of y'all are having issues with the repo, just ignore it. It was based on a default create-react-app install. To build your own just run
npx create-react-app [YOUR_PROJECT_NAME]
Jason
about 2 years ago
I just got a sub to this site and the first course I try I can't do because of all the errors in the repo. I will wanting a refund
Giorgio
over 2 years ago
@jared Did you manage to get this working?
Giorgio
over 2 years ago
@Josh Casbolt I am having issues runing test, plus the repo is different than in the video.
I am on windows so brew doesnt work for me. This is frustrating, the error syas: Error: A package is trying to access another package without the second one being listed as a dependency of the first one
Required package: slash (via "slash")
Any ideas on how to fix it?
Josh Casbolt
over 2 years ago
Hey friends, just incase you have issues when running npm test here, (I had several errors) make sure you have brew & watchman installed, this fixed it for me:
Install brew: copy & paste 1 liner at https://brew.sh/
Install watchman: brew update brew install watchman
Mashael
almost 3 years ago
@jared It did work for me when I tried to install( react-router-dom, react-scripts, react-transition-group, styled-components, eslint ).
jared
almost 3 years ago [edited]
This repo is also pretty outdated ... might be worth an update :)
** Update ** Can't get it to work ... Lots of strange errors when trying to run jest. My best guess is deprecated dependencies
Mantas
over 3 years ago
Professional content. Thank you.
Want to join the conversation?
Become a Pro member today!