Subscribe

higepon blog

2008-09-14

10. I Can't Run This Method in a Test Harness - WORKING EFFECTIVELY WITH LEGACY CODE (WEwLC)

study WEwLC

Working Effectively With Legacy Codeの 10章 I Can't Run This Method in a Test Harness

マインドマップから再構成したまとめ

メソッドがテストできない

  • メソッドが private だ。
    • protected にして継承しテスト
  • テストから検知不能の副作用がある
    • 「安全」ファーストでメソッドをツールで extract する。その後コードをきれいにする

所感

  • private -> protected は知らなかった
  • Safety first も好き

リンク

一人読書会 - WORKING EFFECTIVELY WITH LEGACY CODE (WEwLC)

higepon 2008-09-14 21:37

Bookmark this entry on Hatena::Bookmark
Tweet
Remove all ads
  • Read more
Write a comment
« 今日の復習 Grass on bash »
Profile
id:higepon id:higepon
Subscribed unsubscribe Subscribe Subscribe
About this blog
Search
Links
  • Hatena Blog
  • ブログをはじめる
  • Weekly Hatena Blog
  • Hatena Blog Pro
Recent Entries
  • Machine Learning Design Patterns
  • MATHEMATICS FOR MACHINE LEARNING の読書記録
  • Indoor Location & Navigation コンペ振り返り
  • Visual Studio Code キーバインディング微調整
  • Riiid コンペ復習 - maskingなど
Archive

Start using Hatena Blog!

higepon is using Hatena Blog. Would you like to try it too?

Start using Hatena Blog (Free)
What is Hatena Blog?
higepon blog higepon blog

Powered by Hatena Blog | ブログを報告する

Quote saved.

Login to quote this blog

Failed to save quote. Please try again later.

You cannot quote because this article is private.

Subscribed unsubscribe Subscribe Subscribe