Test-Driven Development

Lectures 75 • 40 slides

Narration

Episode 75 Slide 1: Welcome to Unit Testing Practice (Jest Details)

mindmap root((Jest Details)) Configuration jest.config.js Environment Configuration Mock jest.fn jest.mock jest.spyOn Coverage Measurement Threshold Setting Strategy Pyramid Diamond

Review from Last Time

  • Importance of automated testing and 3 types of tests
  • Differences between unit tests, integration tests, and E2E tests
  • Basic usage of Jest

Course Overview

  • Detailed settings and customization of Jest
  • Practical usage of mocks and spies
  • Measurement of test coverage and quality improvement

Learning Content for Episode 75

  • Detailed options for Jest configuration file
  • Mocking techniques for external dependencies
  • Setting and achieving coverage goals
  • Test strategies (pyramid, diamond)
  • How to write effective test cases

Today's Goal

  • Be able to write practical test code
  • Be able to create independent tests using mocks
  • Understand test strategies that can be used in team development
1/40

Apps - Try Now

SaaS web services and mobile apps from Yamashin Research Lab.

View Apps