类 TestContextManager

java.lang.Object
cn.taketoday.test.context.TestContextManager

public class TestContextManager extends Object
TestContextManager is the main entry point into the Infra TestContext Framework.

Specifically, a TestContextManager is responsible for managing a single TestContext and signaling events to each registered TestExecutionListener at the following test execution points.

Support for loading and accessing application contexts, dependency injection of test instances, transactional execution of test methods, etc. is provided by ContextLoaders and TestExecutionListeners, which are configured via @ContextConfiguration and @TestExecutionListeners, respectively.

Bootstrapping of the TestContext, the default ContextLoader, default TestExecutionListeners, and their collaborators is performed by a TestContextBootstrapper, which is configured via @BootstrapWith.

从以下版本开始:
4.0
作者:
Sam Brannen, Juergen Hoeller, Harry Yang
另请参阅: