Short Youtube Tutorial on React Testing Libary and Jest
I was looking for a good free tutorial that introduced someone who may already know a bit of React to the world of Jest and React Testing Library. I found a tutorial that I think does just the right amount of depth called React Testing with React Testing Library and Jest by 'bBlevs'. In the course, he starts with a blank create-react-app, adds the testing packages, and starts making a very simple app for tracking strikes, balls, and fouls in a baseball game. Then he writes tests to ensure that each of those are behaving as expected, while repeating the thought process of approaching testing exactly how users would use the site. At one hour and 20 minutes in length, it's a good length to go from zero to having an app with some tests in place.
I'd like to get a few more of these under my belt, particularly around a variety of components of differing complexity. I'd also like to hear more about coverage, and leveraging the coverage report to be more informed about what lines are tested vs not tested. I'd also want to hear more about running the tests automatically to prevent errors from getting introduced. This tutorial didn't get into coverage or automated test running.