Author Archives:

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

Cohesion and Controller Ontology

In my article: Single Action Controllers with ASP.Net MVC, I presented a simple way of designing controllers within the ASP.Net MVC framework that represent discrete actions as opposed to classes which contain actions.  This prompted a few questions about the … Continue reading 

Posted in Uncategorized | Tagged , | 5 Comments

Effective Tests: Auto-mocking Containers

In the last installment, I set forth some recommendations for using Test Doubles effectively. In this article, I’ll discuss a class of tools which can aid in reducing some of the coupling and obscurity that comes with the use of … Continue reading 

Posted in Uncategorized | Tagged , , | 1 Comment

Effective Tests: Double Strategies

In our last installment, the topic of Test Doubles was introduced as a mechanism for verifying and/or controlling the interactions of a component with its collaborators. In this article, we’ll consider a few recommendations for using Test Doubles effectively.   … Continue reading 

Posted in Uncategorized | Tagged , | 2 Comments

Effective Tests: Test Doubles

In our last installment, we concluded our Test-First example which demonstrated the Test Driven Development process through the creation of a Tic-tac-toe component. When writing automated tests using either a Test-First or classic unit testing approach, it often becomes necessary … Continue reading 

Posted in Uncategorized | Tagged , | 2 Comments

Effective Tests: A Test-First Example – Part 6

In part 5 of our Test-First example, we continued by addressing issues filed by the QA team. While I thought we had covered the reported defects pretty well, I wanted to do a little smoke testing against the full application … Continue reading 

Posted in Uncategorized | Tagged , | 3 Comments

Effective Tests: A Test-First Example – Part 5

In part 4 of our Test-First example, we continued by addressing issues filed by the UI team. To conclude our example, we’ll finish the remaining issues this time. Here’s what we have left: Issue Description Owner Defect The player can … Continue reading 

Posted in Uncategorized | Tagged , | 2 Comments

Single Action Controllers with ASP.Net MVC

While I’ve enjoyed working with the ASP.Net MVC Framework, one thing I wish that it provided is the ability to create controller-less actions. Why you ask? Because I’d rather my controllers only have one reason to change. While this isn’t … Continue reading 

Posted in Uncategorized | Tagged | 20 Comments

Effective Tests: A Test-First Example – Part 4

In part 3 of our Test-First example, we finished the initial implementation of our Tic-tac-toe component. After we finished, a team in charge of creating a host application was able to get everything integrated (though rumor has it that there … Continue reading 

Posted in Uncategorized | Tagged , | 2 Comments