In 2018, Kent C. Dodds wrote: "The more your tests resemble the way your software is used, the more confidence they can give you." This phrase became the guiding principle for the entire Testing Library ecosystem.
A few years later, the React Testing Library became the de facto library for writing unit and integration tests in the React ecosystem.
Thanks to its user-centric perspective, our tests are closer to our user experience and far away from implementation details.
In this course, you will learn how to:
After this course, you should be able to write and debug any test using the React Testing Library!
Interesting course and easy to understand
Verry succinct and to the point.
It's good but it could be more complex including examples for mock endpoints call or even showing more error cases.
I learned RTL by osmosis in an existing codebase. This course helped cement the concepts and add a few pointers for writing test code quicker next time. There were a few things I had not seen before. The last video on the use of act is perhaps the most challenging one to wrap my head around.
Basic but straight to the point, I think Daniel explain very well all these basic concepts. Looking forward for a more advanced course
Clear and concise valuable info. Great explanation of each of the methods and how to use the testing library.