November 2008 Entries

Unit Testing 101 - Part 1 - Why do it at all?

I'm going to be giving a talk on State & Interaction Based Testing in the very near future so as part of that effort I'd like to collect my thoughts and experiences on unit testing in general.  I think a good place to start is why I unit test at all.  And for this we need to go back into the past.  A past I think most of you probably have your own version of... I have "fond" memories of back when I was a VB 6 programmer.  Like all programmers I sat around and wrote code.  And that...

Agile - Are we letting it die?

James Shore wrote a great post titled The Decline and Fall of Agile and I have to say that I agree with him 100%.  In my experiences I've... Helped convert a company to a more Agile approach.. but without firmly understanding it. In this instance we turned out being very lucky because our implementation of Agile was working pretty good when I left.  A large part of this was because we had a great Customer Proxy, we were already the testers (Cross-functional team) and we were all seated together so communication was great...

Use it? Buy it!

Time to get on my soap box for a moment. In the past I've ran into instances where I disagree with others about what being a contractor means. The belief I have ran into seems to be that it's 100% the responsibility of the company that you are working for to provide the tools you need.   Now in some instances this is the case but in other cases it's common to just get Visual Studio.  You can of course request other tools but depending on the process that could be a very quick or VERY long process. Now personally...

Language is important..

Even for the little things.  For example at a glance which would you rather see... [TestSetUp] public void TestSetUp() { } [TestTearDown] public void TestTearDown() { } Or this.. [TestSetUp] ...