Package org.springframework.test

Superclasses for tests requiring Spring application contexts, including support for transactional execution of test cases, with automatic rollback on completion.

See:
          Description

Class Summary
AbstractDependencyInjectionSpringContextTests Deprecated. as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit38SpringContextTests)
AbstractSingleSpringContextTests Deprecated. as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit38SpringContextTests)
AbstractSpringContextTests Deprecated. as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit38SpringContextTests)
AbstractTransactionalDataSourceSpringContextTests Deprecated. as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit38SpringContextTests)
AbstractTransactionalSpringContextTests Deprecated. as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit38SpringContextTests)
AssertThrows Simple method object encapsulation of the 'test-for-Exception' scenario (for JUnit).
ConditionalTestCase Deprecated. as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit38SpringContextTests)
 

Package org.springframework.test Description

Superclasses for tests requiring Spring application contexts, including support for transactional execution of test cases, with automatic rollback on completion. Useful as base classes for application-specific tests.

The superclasses in this package are ideal for integration testing. Unit testing should not normally involve the Spring container, but should test classes in isolation.