I am creating a Maven Spring project, which includes MVC, Data and Security. My Spring applicationContext-*.xml files are located at \\src\\main\\resources\\spring\\
My
Give the below
@ContextConfiguration(locations = {"classpath*:/spring/test-context.xml"})
And in pom.xml give the following plugin:
pom.xml
org.apache.maven.plugins maven-surefire-plugin 2.20.1 ${basedir}/src/test/resources