Wednesday, 29 September 2010

Wrap up from TDD and OOO at Sydney ALT.NET

Thanks to everyone that came along to my presentation on TDD and Over-enthustiastic OO at Sydney ALT.NET this week. As promised, here's links to the code and some additional info.

If you'd like to contact me with questions or to give feedback please leave a comment or email "me at davesquared.net".

Code

If you'd like to look through the code we drove out, it's up on github. I've also got a branch called checkpoints, which has each step of the process checked in as the last 6 commits (done prior to the presentation).

More information on TDD and OOO

I originally posted the String Calculator example in October 2009. It's pretty much the same steps we went through during the presentation, but with a little more explanation about the steps.

I've also got a couple of posts on some of the concepts we discussed:

Additional links

Alternatives base classes

Screencasts

Turns out I was wrong, Richard did the Prime Factors kata, not String Calculator. Still, there are lots of screencasts on it in loads of different languages. I really recommend watching Gary's version done in Python and Vim; it's incredible!

Nothin' but .NET

A few people asked about JP's Nothin' but .NET course.

Other stuff

Thursday, 2 September 2010

NSubstitute on Talking Shop Down Under

NSubstitute is the subject of Talking Shop Down Under's latest episode.

If you'd like to hear Readify Principal Consultant and MVP Richard Banks interview the brilliant and beardly Anthony Egerton (with occasional nonsensical comments from a raving lunatic*) then give it a listen.

In case you're wondering, all the "anonymous" comments are just an inside joke that you pretty much had to be at Sydney ALT.NET for the NSubstitute launch to get. Rest assured they are intended purely at my expense. :)

I should also point out that there is lots of talk about Rhino Mocks in the discussion, but a lot of the inspiration for NSubstitute should also be credited to Moq for blazing a trail towards Arrange-Act-Assert (AAA) and getting rid of the distinction between mocks and stubs. Unfortunately we only talked about this after recording stopped, but it's important to acknowledge the awesomeness of both Rhino Mocks and Moq and the invaluable contributions they've made to .NET testing.

Even if you're not from Oz I'd really recommend the Talking Shop Down Under podcast. It's .NET focused, done in typically laid-back Aussie style, and takes a fairly quick (~30 min) run through whatever happens to be the topic of that week.

* Apologies for the "Um... (pause)... um... um...". Some people should be read and not heard. ;)