Test cases

The unittest module is built around a handful of key concepts, at the center of which is the notion of a test case. A test case — embodied in the unittest.TestCase class — groups together a set of related test methods, and it is the basic unit of test organization in the unittest framework. The individual test methods, as we'll see later, are implemented as methods on a unittest.TestCase subclass.

 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset