Sunday, January 3rd, 2010
I spent a bunch of time over the holidays getting to know F# a bit better. I think I now consider myself to be truly dangerous with it.
A couple of things which repeatedly bit me as I stumbled through learning F# as a n00b.
Tags: F#, Gotchas, TDD, xUnit
3 Comments »
Tuesday, September 8th, 2009
I’ve been using xUnit.net to run some basic acceptance tests. Obviously xUnit is a unit test framework first and foremost but I don’t have a problem with reusing the framework provided you’re really clear about which tests are unit tests and which tests are not. I created an AcceptanceTest ...
Tags: C#, Coding, Continuous integration, TDD, xUnit
Comments Off on Conditional Acceptance Tests with xUnit.net
Wednesday, June 10th, 2009
Someone at p&p just asked me this and I thought it was worth blogging about.
Suppose I have an interface IIntegrate that I’ve implemented for a number of concrete types within my application. In principle I can use an xUnit Theory to test the behavior of each interface. Something like this:
...
Tags: Coding, TDD, xUnit
2 Comments »
Tuesday, April 14th, 2009
I’ve updated Dealing With Rounding Errors in Numerical Unit Tests to include some more features based on some of the comments I’ve received. If you used the original source code then best check the updated version which deals with the case where the expected value is zero a lot better.
Tags: Coding, TDD, Technical computing, xUnit
Comments Off on Dealing With Rounding Errors in Numerical Unit Tests Updated
Tuesday, December 16th, 2008
Someone pointed me at this video today. Pretty interesting stuff... Nachi Nagappan discusses a study done over multiple teams within and outside of Microsoft on TDD Channel 9 talks with Nachi Nagappan about Test Driven Development (TDD): Does it work better? How better? ...
Tags: Events, TDD
Comments Off on Does Test Driven Development Really Give Better Results?