What are Python unitTest default methods
Question
What are Python unitTest default methods
Answer
#Will execute before the execution of each test method def setUp(self): pass
will execute once before it executes any test methods
def setUpClass(cls): pass #will execute after the execution of each test method def tearDown(self): pass
will execute after it executes all the test methods.
def tearDownClass(cls): pass