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 

Posted in Uncategorized | Tagged , | 5 Comments

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 Uncategorized | Tagged , | 2 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 Uncategorized | Tagged , | 9 Comments

Effective Tests: A Test-First Example – Part 1

The last installment of our series introduced Test-First Programming and briefly discussed its refinements: Test-Driven Development and Behavior-Driven Development.  This time, we’ll dive into a simple Test First example using the principles of Test-Driven Development along with some of the … Continue reading 

Posted in Uncategorized | Tagged , , | 15 Comments

Effective Tests: Test First

In the last installment of our series, I presented a simple example of a traditional unit test.  In this article, we’ll discuss a completely different way to use unit tests: Test First Programming. Test-First Programming In the book Extreme Programming … Continue reading 

Posted in Uncategorized | Tagged , , | 2 Comments

Effective Tests: A Unit Test Example

In the introduction to our series, I introduced some common types of automated tests: Unit Tests, Integration Tests, and Acceptance Tests.  In this article, we’ll take a look at a traditional approach to unit testing and discuss a few practices … Continue reading 

Posted in Uncategorized | Tagged | 2 Comments

Effective Tests: Introduction

This is the first installment of a series discussing  topics surrounding effective automated testing.  Automated testing can be instrumental to both the short and long-term success of a project.  Unfortunately, it is too often overlooked due to either a lack … Continue reading 

Posted in Uncategorized | Tagged | 2 Comments

C# vs. C#

In the course of doing some reading on Scala and Clojure, I stumbled upon an interesting article by Mogens Heller Grabe entitled C# vs. Clojure vs. Ruby & Scala.  In the article, Mogens provides a C# solution to a word … Continue reading 

Posted in Uncategorized | Tagged | 11 Comments

Windows-Friendly Cygwin Paths

Not too long ago, I ventured into using Rake for my .Net project builds.  Given that my shell preference on Windows is Cygwin’s bash port (via the excellent mintty terminal), I tend to prefer installing the Cygwin ruby package rather … Continue reading 

Posted in Uncategorized | Tagged | 7 Comments

NCommons Rules Engine

I recently decided to invest some time in learning how my team might leverage the MvcContrib rules engine for our projects at work. I discovered this feature after browsing the CodeCampServer source which seems to be the only publicly available … Continue reading 

Posted in Uncategorized | 2 Comments