1.

What is the purpose of BeforeClass annotation in JUnit?

Answer»

Annotating a public static void method with BeforeClass causes it to be run once before any of the test methods in the class.



Discussion

No Comment Found