Q1. What is the difference between JUnit 4 and TestNG?
Q2. What is the difference between unit testing and integration testing?
Q3. Explain the Spring MVC test framework.
Q4. Explain @ContextConfiguration
and @WebAppConfiguration
.
Q5. Explain MockMvc and @RunWith(SpringJUnit4ClassRunner.class)
.
The answers to these are provided in Appendix A, Solution to Exercises.