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.
即将结束: 只需 199 美元(原价 399 美元)即可通过 Coursera Plus 学习新技能。立即节省

您将学到什么
Implement test-driven development (TDD) techniques in JavaScript.
Master the use of Jest for mocking functions, APIs, and ECMAScript classes.
Utilize JSDOM and the Testing Library to test browser-based JavaScript code.
Develop high-quality, user-centric tests for enhanced application reliability.
您将获得的技能
要了解的详细信息

添加到您的领英档案
July 2025
4 项作业
了解顶级公司的员工如何掌握热门技能

积累特定领域的专业知识
- 向行业专家学习新概念
- 获得对主题或工具的基础理解
- 通过实践项目培养工作相关技能
- 获得可共享的职业证书

该课程共有1个模块
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.
涵盖的内容
32个视频4个作业
获得职业证书
将此证书添加到您的 LinkedIn 个人资料、简历或履历中。在社交媒体和绩效考核中分享。
从 Software Development 浏览更多内容
状态:免费试用
状态:免费试用
状态:免费试用
状态:免费试用
人们为什么选择 Coursera 来帮助自己实现职业发展




常见问题
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
更多问题
提供助学金,




