程序包 org.springframework.test.context.junit4
Support classes for integrating the Spring TestContext Framework with JUnit 4.12 or higher.
类概要 类 说明 AbstractJUnit4SpringContextTests Abstract base test class which integrates the Spring TestContext Framework with explicitApplicationContext
testing support in a JUnit 4 environment.AbstractTransactionalJUnit4SpringContextTests Abstract transactional extension ofAbstractJUnit4SpringContextTests
which adds convenience functionality for JDBC access.SpringJUnit4ClassRunner SpringJUnit4ClassRunner
is a custom extension of JUnit'sBlockJUnit4ClassRunner
which provides functionality of the Spring TestContext Framework to standard JUnit tests by means of theTestContextManager
and associated support classes and annotations.SpringRunner SpringRunner
is an alias for theSpringJUnit4ClassRunner
.