Rethinking Unit Testing: xUnit.net

room: Osgoode East, LC — time: Tuesday 10:45-12:15
Average Rating: -

The release of NUnit 2.0 was almost 6 years ago. According to Kent Beck, Most folks who port xUnit just transliterate the Smalltalk or Java version. That’s what we did with NUnit at first, too. NUnit 2.0 is as it would have been done had it been done in C# to begin with. Unit testing began to really catch on in .NET. Six years later, many .NET developers are doing unit testing, and many of them cut their teeth on NUnit. With many unit tests under their belt, Jim Newkirk (the primary NUnit 2.0 author) and Brad Wilson — with feedback from many friends and co-workers — have released a new unit testing framework for .NET, xUnit.net. In this session, Brad and Jim will discuss the history of xUnit.net, including their motivations and decisions, as well as show the new framework both for test writers and for those who wish to extend the framework for their own uses.

Process/Mechanics

The session will be an mixture of lecture and hands on demonstration, for example:

  • xUnit.net History and Primary Motivations - 15 minutes
  • Use Existing Language Constructs - 10 minutes
  • The T in TDD is Wrong - 10 minutes
  • Be Flexible, Safe, and Sure - 25 minutes
  • Extensibility - 30 minutes

Questions will be taken throughout the demonstration.