Tech Tips

  1. Uncategorized
  2. 154 view

Memo of TDDBC Tokyo 2013-07

URL

http://tddbc.doorkeeper.jp/events/4663

Cycle of TDD

  1. Decide Next Target
  2. Write Test Code To Achieve The Target
  3. Make The Test Fail To Run(RED)
  4. Write Objective Code
  5. Make It Success That The Test Code At Step3(Green)
  6. Do Refactoring Keeping Test Case Success(Refactor)
  7. Go Back Step1

Golden Cycle

  1. Red(Beautiful/Not Work -> Durty/Not Work)
  2. Green(Durty/Not Work -> Durty/Work)
  3. Refactoring(Durty/Work -> Beautiful/Work)

Merit of TDD

Physiological Thing!
  • To Get Feedback Immediately
  • To Get Confidence For Your Code
  • To Get Confidence For Your Code In The Future

Fragile Test

  • It Takes Too Much Time For Developing
  • It’s Too Detail
  • Other Test Depends On It

Fake it

  • Implementation For Test
  • To Use For First Implementation
  • Return Const Value At First
  • After Success The Test Case, Change Case From Const Value To Expressionく

Book

  Object technology series 10【1万円以上購入でポイント10倍】リファクタリング プログラミ…
価格:5,040円(税込、送料込)
  【送料無料】リーダブルコード [ ダスティン・ボズウェル ]
価格:2,520円(税込、送料込)
  【送料無料】 レガシーコード改善ガイド 保守開発のためのリファクタリング Object Oriented …
価格:4,410円(税込、送料込)
  【送料無料】データベース・リファクタリング [ スコット・W.アンブラー ]
価格:3,780円(税込、送料込)

Uncategorized recent post

  1. Run Amazon FreeRTOS on M5Stack Core2 for AWS …

  2. Udacity Self-Driving Car Engineer Nanodegree …

  3. Install sbt 1.0.0 and run sample template

  4. Visualization of Neural Network and its Train…

  5. [Machine Learning]Created docker image includ…

関連記事

PAGE TOP