DEV Community

loading...
Cover image for How To Test Dynamic Lists in React.js (TDD approach)

How To Test Dynamic Lists in React.js (TDD approach)

Marius Espejo
・1 min read

In my previous posts I covered the basics of how to unit test your React applications as well as how to take a Test-Driven Development approach:

In this next video I show you how to test lists with dynamic content and specific ordering!

We'll again take a test driven development (TDD) approach to first focus on writing the tests, then the implementation.

I also cover strategies to write the code for accessibility as well as various techniques to make it all even better!

Let me know in the comments if you have feedback!

Discussion (2)

Collapse
sumodevelopment profile image
Dewald Els

Thanks for the great content!

Collapse
marius profile image
Marius Espejo Author

thank you I appreciate your comment!

Forem Open with the Forem app