June 2014
Beginner to intermediate
304 pages
7h 25m
English
Let's see how we can boot up our test context using the Spring Test Context framework to test our ProductValidator class:
pom.xml and you will find pom.xml under the root directory of the project itself.pom.xml file; select the Dependencies tab and click on the Add button of the Dependencies section.org.springframework, Artifact Id as spring-test, and Version as 4.0.3.RELEASE; then select Scope as test, click on the OK button, and save pom.xml.test-DispatcherServlet-context.xml under the com.packt.webstore.validator package in the source folder, src/test/resources ...