Can You Explain The Life Cycle Of A JUnit 4.4 Test Class

Can You Explain The Life Cycle Of A JUnit 4.4 Test Class


  • 20 Jan, 2012

    A JUnit 4.4 test class contains a @Before method, an @After method and multiple @test methods. When calling a test runner to run this test class, the runner will execute those methods in a specific order giving the test class an execution life cycle like this:@Before@Test XXX1@After@Before@Test XXX2@After@Before@Test XXX3@After

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.