Explain the "setUp" and "tearDown" Python methods used in test cases

Viewed 134400

Can anyone explain the use of Python's setUp and tearDown methods while writing test cases apart from that setUp is called immediately before calling the test method and tearDown is called immediately after it has been called?

3 Answers
Related