1.

What Is The Purpose Of @before Annotation In Junit?

Answer»

Several tests NEED similar objects CREATED before they can run. Annotating a PUBLIC void METHOD with @Before causes that method to be run before each Test method.

Several tests need similar objects created before they can run. Annotating a public void method with @Before causes that method to be run before each Test method.



Discussion

No Comment Found