К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Test-Driven Development for JavaScript: Test-Driven Development · LearnSpace
Назад в каталог
courseraПрограммирование

Test-Driven Development for JavaScript: Test-Driven Development

Курс от Pearson
Средний≈ 8.3 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

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.

Навыки, которые вы освоите

Jest (JavaScript Testing Framework)Test Driven Development (TDD)Development TestingMockupsUnit TestingJavascriptTest ToolsWeb Development ToolsTest CaseSoftware TestingObject Oriented Programming (OOP)JavaScript FrameworksTest Script DevelopmentBrowser CompatibilityTestability

Программа курса

1 модулей · 36 учебных материалов

01Test-Driven Development36 материалов

Mocking

Learning objectivesВидеоCreating and using a mock functionВидеоUnderstanding the .mock propertyВидеоUsing mock functions to mock an APIВидеоMocking modulesВидео

Учитесь у экспертов

Pearson

Преподаватель курса

Test-Driven Development for JavaScript: Test-Driven Development
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 8.3 ч

1 модулей

Язык: Английский

Субтитры: Американский английский

Часть программы вашего университета
Mocking promisesВидео
Mocking REST callsВидео
Mocking QuizЗадание

Additional Mocking Techniques

Learning objectivesВидеоSpying on functionsВидеоDefining a mock implementation for a spyВидеоMocking timersВидеоMocking timers - additional techniquesВидеоIntroduction to ES6 classesВидеоDefining automatic mocks for ES6 classesВидеоDefining manual mocks for ES6 classesВидеоAdditional Mocking Techniques QuizЗадание

Effective Test-Driven Development (TDD)

Learning objectivesВидеоOverview of TDDВидеоTDD walkthroughВидеоRefactoringВидеоRefactoring with inheritanceВидеоAdditional techniquesВидеоEffective Test-Driven Development (TDD) QuizЗадание

Testing the User Interface

Learning objectivesВидеоDOM essentialsВидеоIntroduction to JSDOMВидеоAccessing content using JSDOMВидеоLoading an HTML file in a testВидеоTesting JavaScript code that accesses HTML contentВидеоTesting event handlersВидеоIntroduction to Testing LibraryВидеоTypes of query available in Testing LibraryВидеоA closer look at the query API in Testing LibraryВидеоUsing companion libraries with Testing LibraryВидеоTesting the User Interface QuizЗадание