The Spring TestContext Framework offers full integration with JUnit 4.9+ through a custom runner (supported on JUnit 4.9 through 4.12). html
詳細見http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#testcontext-support-classesspring