A Beginner’s Guide to Jest Testing

Ali Alhaddad
Sep 1, 2018 · 7 min read

An Explanation of how jest testing is implemented, and how this helps in the big picture.

We are gonna take a dive into test driven development first, then we are gonna dive into the tool we are gonna use which is jest. First off before anything what is test driven development?

Test Driven Development is typing as many unit test as production code to prevent less bugs. It follows the RGR principle or the Red, Green and Refractor principle.

Keep the story going. Sign up for an extra free read.

You've completed your member preview for this month, but when you sign up for a free Medium account, you get one more story.
Already have an account? Sign in

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade