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
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.