Test 的个人资料Musing about Software Te...照片日志列表更多 工具 帮助
9月23日

Testing issues for GoF patterns

I went to a good IEEE CS talk on Sustainable Test Driven Development. 

At the end Scott Bain of NetObjectives made a great statement:

All Design Patterns should come with their Unit Testing Test Pattern.

I have heard people ask about patterns for testing Gang of Fout (GoF) Design Patterns and NetObjectives has already documented them (using Mocks, etc.).

 

The patterns at http://www.netobjectives.com/PatternRepository each have “Testing Issues”, e.g. for Decorator.

 

He also stated 3 principles which, after the slides are posted, I will comment on -- Great unit testing principles