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.



Discussion

No Comment Found