Inherited classes and Sunit

Ned Konz ned at squeakland.org
Fri Nov 12 03:39:20 UTC 2004


On Thursday 11 November 2004 19:27, Ryan Zerby wrote:
> How do I set up a test on a class and an inherited class, to make sure
> nothing in the inherited  class breaks code in it's parent?

You can have a parallel hierarchy of TestCase subclasses if you want; the 
setUp methods in the different classes would instantiate an instance of the 
class under test.

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list