Testing a Generic Class
- by Jonas Gorauskas
More than a question, per se, this is an attempt to compare notes
with other people. I wrote a generic History class that emulates
the functionality of a browser's history. I am trying to wrap my
head around how far to go when writing unit tests for it. I am
using NUnit. Please share your testing approaches below.
The full code for the History class is here (http://pastebin.com/ZGKK2V84).