
UdemyPrice
No active coupon right now
View Course →No coupon right now. We'll tell you when there is one.
Mark your own learning status. Opening a course link does not establish enrollment.
Loading saved status…
The course was updated in November 2023. Its projects are built with Vite, and tests run on Vitest, which the description says is faster than Jest. The syntax matches Jest, so the examples also work with Jest.
React Testing Library is built around testing behavior rather than implementation, and the course follows that. Learners query elements by accessibility handles and test async page changes, with data mocked through Mock Service Worker v2 and components rendered inside a context provider.
Major course updates in November 2023!
Projects are written in Vite, a lightweight and lightning-fast base for React apps
Projects use Vitest, a test framework that's much faster than Jest
Note: Vitest code syntax is identical to Jest; all code presented in the course works with both Vitest and Jest.
The course presents Mock Service Worker v2 syntax, which was released in October 2023.
React Testing Library has become an extremely popular option for testing React, and with good reason! This detailed, comprehensive course provides a solid foundation for React app tests.
Best Practices
React Testing Library is famously opinionated about testing best practices, and is written to encourage these best practices. This course teaches:
testing behavior over testing implementation
tests that interact with your app the way a user would
finding elements by accessibility handles, to make sure your code is accessible as possible
Broad range of testing examples
The course apps start very with very simple examples (clicking a button to change its color) and work up to progressively more complicated testing concepts, such as:
testing asynchronous page changes
simulating data from a server using Mock Service Worker
applying a context provider to a component when rendering
The course builds up to complex concepts gradually, in a way designed to support your learning and ensure your success.
Practice your new skills
You will also have plenty of opportunities to practice what you’ve learned. The course provides "code quizzes" while building the course projects, where you can apply what you learned and then watch a video to see the solution. The (optional) final section provides even more exercises to complete the second app and reinforce concepts from the course.
Optional React lectures
Any significant React code covered in the course is isolated into separate lectures. Students have a choice: those who want to reinforce their React skills (or learn new ones!) can watch those lectures, while students who feel confident in their React skills can skip them.
Supportive Instructor
The instructor has a proven track record of responding to course Q&A in a helpful and supportive way. She loves to engage with students, answer questions about course concepts, and help debug students' code for the course projects.
Advertisement
Tracking since 15 Nov — not enough history yet to tell you whether today's price is any good. Watch the course and we'll tell you when it drops.
This is what we recorded in US pricing — not every price this course has ever had, and prices differ by country.
No Korshub reviews yet.