What is @Rule annotation in JUnit?
JUnit @Rule annotation follows the AOP idea (aspect oriented programming). It intercepts the test method, offering the chance to perform something before or after the execution of a certain test method.
What is @Rule annotation in JUnit?
JUnit @Rule annotation follows the AOP idea (aspect oriented programming). It intercepts the test method, offering the chance to perform something before or after the execution of a certain test method.