GraphQL CMS
React Testing
Luffy

Luffy

April 20th, 2022

React Testing

Some logistics first–we will use React Test Shop, a simple online shopping application to learn our testing techniques. Here’s the  To get you started, let’s build and run the application.

Play around with the app to get familiar with it. Also, run the unit tests, end-to-end tests and Storybook to get familiar with the testing tools. Instructions to run these are provided in the section of the README.

Now that we are through with the logistics, let’s start by setting some context and guiding principles.

For me, writing tests is about building confidence in what I am delivering. Tests provide a mechanism to verify the intent of my code by exercising it in various ways. Moreover, they give me the confidence that I have not broken anything when I refactor or extend the code to meet new requirements. The last thing I want is to get a call at 3:00 AM to fix a bug that has crashed my app!

Luffy

Luffy

Learning CMS with Graphql

Leave a Reply

Related Posts

Categories