The Magic of Unit Testing

I’ve never done unit testing…ever. I’ve heard the phrase and wondered what the heck it was for some time now, so I decided to go and download NUnit, a unit testing framework for .NET. Now that I’ve started playing with it, I really like it.

Basically, create a special project with some special classes that run tests on your objects. Then, load the compiled DLL into the NUnit console and let it run. The tests are executed and you are told if any of them fail and why. It really makes debugging your classes much, much easier. You can now count me among the converted.

New in the Store

My Code Sparks Joy (Sincerity) T-shirt

Join the Mailing List

Never miss an update by joining 3,000 other mailing list members.