in·dom·i·ta·ble
adj.   Incapable of being overcome, subdued, or vanquished; unconquerable.

24th
SEP

Domain Driven Design

Posted by indomitablehef | Filed under DDD

An interview with Eric Evans on Domain Driven Design. [infoQ]

23rd
SEP

TDD: Learning NUnit

Posted by indomitablehef | Filed under TDD, Tools

While making the switch back to NUnit and learning to use version 2.4, I found some excellent resources I’d like to pass on…

23rd

Meet the new boss, same as the old boss

Posted by indomitablehef | Filed under TDD, Tools

So, let’s skip the “sorry I haven’t posted in awhile” stuff and just get on with it, shall we?

After five months of trying to get used to the Unit Testing framework in Visual Studio.Net, I’ve decided to go back to NUnit. This is my first experience with version 2.4.x, with the new constraint-based assert model. One of the benefits of unit tests is their self-documenting capacity for documenting your application’s code. Examine the Unit tests, and it should be clear how the application is supposed to work. With the new constraint-based model in NUnit 2.4.x, you can now write your assert statements in a way that reads almost like an English sentence. Here’s a simple example:

Assert.That( myString, Is.EqualTo("Hello") );

Sweet, huh? So, yeah, it’s nice that Microsoft is including Unit Testing with Visual Studio, as well as other tools like MSBuild, etc., but I’m back to believing that they just aren’t ready yet.

Coming up: More agile-enabling practices, like Automated Builds with NAnt and Continuous Integration with CruiseControl.net.