Can You Explain The Life Cycle Of A JUnit 3.8 Test Case Class

Can You Explain The Life Cycle Of A JUnit 3.8 Test Case Class


  • 20 Jan, 2012

    A JUnit 3.8 test case class contains a setUp() method, a tearDown() method and multiple testXXX() methods. When calling a test runner to run this test class, the runner will execute those methods in a specific order giving the test case class an execution life cycle like this:setUp()testXXX1()tearDown()setUp()testXXX2()tearDown()setUp()testXXX3()tearDown()

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.