Monday, June 14, 2010

design criteria for Unit Test

  • Prepare unit tests for each class.
  • For each module, prepare the mock classes that include each the module
  • When a class is prepared only for internal use or tightly-coupled with another class, I won't prepare the unit test for the class, but prepare it for the central class.

No comments:

Post a Comment