Testing a Generic Class

Posted by Jonas Gorauskas on Stack Overflow See other posts from Stack Overflow or by Jonas Gorauskas
Published on 2010-06-12T23:28:11Z Indexed on 2010/06/13 5:22 UTC
Read the original article Hit count: 378

Filed under:
|
|
|

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).

© Stack Overflow or respective owner

Related posts about c#

Related posts about unit-testing