Test Driven Development with Jest

About

This module provides an introduction to Test Driven Development (TDD) using Jest, a popular JavaScript testing framework. Learners will gain an understanding of the core principles behind TDD and how it improves code quality. The module covers essential topics such as setting up a testing environment, writing unit tests, and practicing TDD techniques.

Content

Lesson Est. Delivery Time Skills
Setup 5 min Set up the development environment.
Test Driven Development 5 min When and how to apply Test Driven Development (TDD) principles
Getting started with Jest 10 min Create a basic testing environment using Jest
Writing Unit Tests with Jest 20 min Write unit tests using describe(), it(),test() and matchers like expect().toBe()
Skipping Tests 10 min Apply techniques to skip tests in Jest
Practicing TDD 30 min Implement new functions that satisfy predefined test conditions
Total content 80 min  

References

📖 Reference Materials