InterviewSolution
Saved Bookmarks
| 1. |
What is the importance of @RunWith annotation? |
|
Answer» @RunWith annotation LETS us run the JUnit tests with other custom JUnit RUNNERS like SpringJUnit4ClassRunner, MockitoJUnitRunner ETC. We can also do parameterized TESTING in JUnit by making use of @RunWith(Parameterized.class). |
|