React Testing Library: Writing Tests for Noobs

Brian Jenney
3 min readSep 21, 2020
Developers laughing around a desk
Testing? Isn’t that what end users are for?

You know you’re supposed to be writing tests. You know this. If you’re a developer using React on the front end and using CRA to bootstrap your application then your app ships with testing-library, React’s suggested testing framework. Now, all you have to do is write some tests!

If you are completely new to writing tests, any testing framework can be daunting. It can seem like you’re…

--

--

Brian Jenney

full-stackish developer, late bloomer coder and power google user and owner of Parsity.io