Andy, Dave and NUnit
by Justin Gehtland
Andy and Dave (the Pragmatic Programmers) are at it again with a brand new tome, Pragmatic Unit Testing with C#, a look at unit testing using NUnit.
It constantly amazes me how often I come across otherwise knowledgable, competent .NET programmers who haven't even heard of unit testing let alone NUnit. I mean, here is a technology that took the panic out of programming for me, overnight. Here is a tool without which I can never know that my code is *really* working. And the Java community just gets it. JUnit is built into everything.
Not quite so over on the .NET side, much to my chagrin. I do my best to evangelize it when I can, but Andy and Dave can (and do) do a much better job. I hope this book sells a million copies.
Up until a year ago, I was in exclusively a Java environment. We had wonderful well-known tools like Ant, jUnit, and OOP. Now I'm working in an almost exclusively asp environment that's beginning to switch to .Net and these seem like foreign concepts.
Unit testing acceptance
Until NUnit is fully integrated into VS.NET, uptake is going to be slow. Most .NET folks only know what VS.NET gives them and it's quite foreign to go out into the community and find ancillary tools which are not provided by Microsoft. I do see a lot of Java people that have worked in the .NET world bring these tools to the table, but I guess that's to be expected. Use what you're familiar with.