Charles' Six Rules of Unit Testing

xiaoxiao2021-03-06  57

Charles' Six Rules of Unit Testing

Write the test first Never write a test that succeeds the first time Start with the null case, or something that does not work Do not be afraid of doing something trivial to make the test work Loose coupling and testability go hand in hand Use mock Objects

......

Http://fishbowl.pastiche.org/2002/07/25/charles_six_rules_of_unit_testing

转载请注明原文地址:https://www.9cbs.com/read-113461.html

New Post(0)