1.

What is the purpose of After annotation in JUnit?

Answer»

If you allocate external resources in a Before method you need to release them after the test runs. Annotating a public void method with After causes that method to be run after the Test method.



Discussion

No Comment Found