DEV Community

CodingWith-Adam
CodingWith-Adam

Posted on • Updated on

Introduction to Testing React Components

In this tutorial we learn how to test a react application using a library called Testing Library. Not only do we learn the basics of testing a react component we also do some test driven development (TDD).

Testing library is a great testing library with a simple philosophy of black box testing an application and does not use internal information like react state or props. This leads to simpler and cleaner tests.

If you enjoy my videos subscribe to my youtube channel Coding With Adam

Discussion (0)