DEV Community

CodingWith-Adam
CodingWith-Adam

Posted on

1

Introduction to Test Driven Development with React

In this video we learn how to apply Test Driven Development(TDD) to a react application. TDD is a test first approach. That means you write a failing test first. After the test is written you write the code to make it pass.

We will create an application using TDD and the amazing part is that we will only run the application at the end of the video. That means we will rely 100% on your unit tests.

The testing library that will use is called Testing Library(https://testing-library.com/). When you use npx create react app it comes preloaded.

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay