Monthly Archives: May 2011

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