Fun with Unit Tests – Testing abstract classes

My blog has moved.
You can view this post at the following address:
http://www.osherove.com/blog/2003/9/24/fun-with-unit-tests-testing-abstract-classes.html
Published Thursday, September 25, 2003 12:05 AM by RoyOsherove
Filed under:

Comments

Friday, October 03, 2003 5:12 PM by Mark Levison

# re: Fun with Unit Tests – Testing abstract classes

Why not just create an abstract test case, that throughly tests your base class. Then concrete implementations of Task, would have similiar concrete test cases. You end up with a parallel inheritance hierarchy - but it works well for us. We've been doing it on our project for over a year.
Thursday, October 09, 2003 4:04 PM by Mark Levison

# re: Fun with Unit Tests – Testing abstract classes

BTW the original reference for this is http://www.placebosoft.com/abstract-test.html
Thursday, May 13, 2004 11:10 AM by Jonathan de Halleux

# re: Fun with Unit Tests – Testing abstract classes

I have developped a methodology that totally solves the interface/abstract class problem. In fact, it uses it to create better test suites. I would be interrested on having your comments on this.

More details here:
http://blog.dotnetwiki.org/archive/2004/05/13/206.aspx