TDD 패턴들

Test-driven development: by example 3부에서 소개하는 TDD 패턴 및 리팩토링 모음.

TDD 패턴

  • Test
  • Isolated test
  • Test list
  • Test first
  • Assert first
  • Test data
  • Evident data

빨간 막대 패턴

  • One step test
  • Starter test
  • Explanation test
  • Learning test
  • Another test
  • Regression test
  • Break
  • Do over
  • Cheap desk, nice chair

테스팅 패턴

  • Child test
  • Mock object
  • Self shunt
  • Log string
  • Crash test dummy
  • Broken test
  • CLean check-in

녹색 막대 패턴

XUnit 패턴

  • Assertion
  • Fixture
  • External fixture
  • Test method
  • Exception test
  • All tests

디자인 패턴

  • Command
  • Value object
  • Null object
  • Template method
  • Pluggable object
  • Pluggable selector
  • Factory method
  • Imposter
  • Composite
  • Collecting parameter
  • Singleton

리팩토링

  • Reconcile differences
  • Isolate change
  • Migrate data
  • Extract method
  • Inline method
  • Extract interface
  • Move method
  • Method object
  • Add parameter
  • Method parameter to constructor parameter

2024 © ak