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.

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