Pearson
Test-Driven Development for JavaScript: Unit 2
Pearson

Test-Driven Development for JavaScript: Unit 2

Pearson

Instructor: Pearson

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

8 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

8 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • 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.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

July 2025

Assessments

4 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Test-Driven Development for JavaScript Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There is 1 module in this course

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.

What's included

32 videos4 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Pearson
Pearson
146 Courses63 learners

Offered by

Pearson

Explore more from Software Development

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions