所謂的測試導向開發的三原則 http://butunclebob.com/ArticleS.UncleBob.TheThreeRulesOfTdd You are not allowed to write any production code unless it is to make a failing unit test pass. You are not allowed to write any more of a unit test than is sufficient to fail; and compilation failures are failures. You are not allowed to write any more production code than is sufficient to pass the one failing unit test. 翻譯成白話一點的中文就是 沒有測試單元,不寫程式。 不寫測試條件以外的測試程式。 不寫不屬於任何測試單元的產品程式。
這是Gary的Blog,裡面有許多我平日接觸到的資訊,還有自己對於一些電腦軟體的研究心得。另外也包含了許多無聊的碎碎念文章!