April 2014
Beginner to intermediate
634 pages
15h 22m
English
Inheritance works among the TestCase classes. Ideally, each TestCase is unique. Pragmatically, there may be common features among cases. There are three common ways in which TestCase classes may overlap:
TestCases. There's no reason to repeat the data. A TestCase class that only defines setUp() or tearDown() with no test methods is legal, but it may lead to a confusing log because there are zero tests involved.