React Testing Crash Course for Beginners

React Testing Crash Course for Beginners

In this video I go over the basics of testing a React.js application using Jest and React Testing Library. I go over how to structure your tests, how to query various elements in your component, and how to perform user events like click and typing.

In this video I go over the basics of testing a React.js application using Jest and React Testing Library. I go over how to structure your tests, how to query various elements in your component, and how to perform user events like click and typing.

Testing your code is super important!

Let me know your thoughts in the comments!

react testing

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

Interaction Testing with React Testing Library

Testing is complicated. I’ve certainly never been good at it. For the longest time, I’ve only been focused on basic function input-output unit tests. Why? Because they were easy — you didn’t need to render HTML, you didn’t need to query DOM elements, you didn’t need to interact with said DOM elements. But of course, React component testing is a necessity for any mature codebase. And it finally came time for me to sit down and figure it out. A window into React component testing. Interaction Testing with React Testing Library

Test Driven Development (TDD) with React Testing Library & Mock Service Worker

Let’s step up our testing game with two useful libraries that lend themselves excellently to a TDD approach.

Software Testing 101: Regression Tests, Unit Tests, Integration Tests

How do scientists demonstrate that a drug or vaccine is effective? Putting it to the test. It's your only choice. And, if you're reasonable, you'd never use medications that haven't been thoroughly tested. So, why don't you test software as thoroughly as you should?

Learn To Test React Hooks In 6 Minutes - How To Test React Hooks Using react-hooks-testing-library

In this video I'll show you how to test react hooks using react-hooks-testing-library