Tag Archives: testing

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 

| 4 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 

| 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 

| 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 

| 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 

| 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 

| 2 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 General | 3 Comments

Effective Tests: A Test-First Example – Part 3

In part 2 of our Test-First example, we continued the implementation of our Tic-tac-toe game using a Test-First approach. This time, we’ll finish out our requirements. Here’s where we left things: When the player goes first it should put their … Continue reading 

| Leave a comment

Effective Tests: A Test-First Example – Part 2

In part 1 of our Test-First example, we discussed the Test-Driven Development philosophy in more detail and started a Test First implementation of a Tic-tac-toe game component. Here’s the progress we’ve made on our requirements so far: When the player … Continue reading 

Posted in General | Also tagged , , | 3 Comments

Effective Tests: How Faking It Can Help You

In part 1 of our Test-First example, I presented a Test-Driven Development primer before beginning our exercise.  One of the techniques I’d like to discuss a little further before we continue is the TDD practice of using fake implementations as … Continue reading 

Posted in General | 8 Comments