Monthly Archives: June 2011

Introducing the Expected Objects Library

Introduced in the Effective Test Series, the Expected Object pattern is a technique involving the encapsulation of test-specific logic within a specialized type designed to compare its configured state against that of another object. Use of the Expected Object pattern … Continue reading 

Posted in Uncategorized | Tagged , | 7 Comments

Effective Tests: Expected Objects

In the last installment of the Effective Tests series, the topic of Custom Assertions was presented as a strategy for helping to clarify the intent of our tests. This time we’ll take a look at another test pattern for improving … Continue reading 

Posted in Uncategorized | Tagged , | 4 Comments

Effective Tests: Custom Assertions

In our last installment, we took a look at using Auto-mocking Containers as a way of reducing coupling and obscurity within our tests. This time, we’ll take a look at another technique which aids in preventing obscurity caused by complex … Continue reading 

Posted in Uncategorized | Tagged , | 4 Comments