This course is designed for developers who wish to master the art of testing JavaScript applications using Jest. Dive deep into the world of test-driven development (TDD) and learn how to apply its principles effectively to produce clean, reliable code. Explore the intricacies of mocking, including the use of mock functions, spies, and timers, to simulate complex scenarios and enhance test accuracy. Gain proficiency in testing ECMAScript classes and browser-based JavaScript code using powerful tools like JSDOM and the Testing Library. By the end of this course, you will have acquired the skills to write high-quality tests that ensure your applications are robust and user-friendly.
Overview
Syllabus
- Test-Driven Development
- This module is designed for developers eager to master testing JavaScript applications with Jest, the course offers an in-depth exploration of test-driven development (TDD). You will learn to effectively apply TDD principles to produce clean and reliable code. The module delves into the intricacies of mocking, including the use of mock functions, spies, and timers, to simulate complex scenarios and enhance test accuracy. Additionally, you will gain proficiency in testing ECMAScript classes and browser-based JavaScript code using powerful tools like JSDOM and the Testing Library. By the end of this module, you will have acquired the skills to write high-quality tests that ensure your applications are robust and user-friendly.
Taught by
Pearson