package com.fc.mapper; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "classpath:application-context.xml", "classpath:spring-mvc.xml" }) public class TestMapper { @Test public void test10() { System.out.println("ok"); } }