Monthly Archives: November 2009

Don’t Make It, Fake it

The gentle art of deception Writing code kata’s is fine, you end with a small class, that has no dependencies connects to nothing, doesn’t need a network, service or database! So what do you do when you are trying to … Continue reading

Posted in Programming | Leave a comment

TDD Like you mean it! Part 3

The second test and first refactoring. Having completed the first test, it is time to start the second test.  The Second Test The add function takes a single number and returns that number. This test can be written completely as … Continue reading

Posted in Programming | Leave a comment

TDD Like you mean it Part 2

Some Actual Real Tests! For these examples I will be using the Calculator Kata designed by Roy Osherove, starting with a solution containing two empty projects, the production project “CalculatorDomain” and the test project “CalculatorDomain.Tests”.   The first test The … Continue reading

Posted in Programming | Leave a comment

Test Driven Development

Testing like it or not is now mainstream, just about every version of visual studio 2010 has the ability to run native Microsoft unit tests, and there is a plethora of unit testing frameworks out there to choice from for … Continue reading

Posted in Uncategorized | Leave a comment