Annotation Interface的使用
cn.taketoday.test.context.ContextConfiguration
使用ContextConfiguration的程序包
程序包
说明
Classes and annotations related to configuring Infra
ApplicationContext for
tests.This package contains the TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
Core support for integrating the TestContext Framework
with the JUnit Jupiter extension model in JUnit 5.
Web support for integrating the TestContext Framework
with the JUnit Jupiter extension model in JUnit 5.
Support classes for the TestContext Framework.
-
cn.taketoday.framework.test.context中ContextConfiguration的使用
修饰符和类型方法说明private booleanInfraTestContextBootstrapper.isFromConfiguration(MergedContextConfiguration candidateConfig, ContextConfiguration configuration) -
cn.taketoday.test.context中ContextConfiguration的使用
限定符构造器说明ContextConfigurationAttributes(Class<?> declaringClass, ContextConfiguration contextConfiguration) Construct a newContextConfigurationAttributesinstance for the supplied@ContextConfigurationannotation and the test class that declared it. -
cn.taketoday.test.context.junit.jupiter中ContextConfiguration的使用
修饰符和类型类说明@interface@ApplicationJUnitConfigis a composed annotation that combines@ExtendWith(ApplicationExtension.class)from JUnit Jupiter with@ContextConfigurationfrom the Infra TestContext Framework. -
cn.taketoday.test.context.junit.jupiter.web中ContextConfiguration的使用
修饰符和类型类说明@interface@ApplicationJUnitWebConfigis a composed annotation that combines@ExtendWith(ApplicationExtension.class)from JUnit Jupiter with@ContextConfigurationand@WebAppConfigurationfrom the TestContext Framework. -
cn.taketoday.test.context.support中ContextConfiguration的使用
修饰符和类型方法说明private static voidContextLoaderUtils.convertContextConfigToConfigAttributesAndAddToList(ContextConfiguration contextConfiguration, Class<?> declaringClass, List<ContextConfigurationAttributes> attributesList) Convenience method for creating aContextConfigurationAttributesinstance from the suppliedContextConfigurationannotation and declaring class and then adding the attributes to the supplied list.private static booleanContextLoaderUtils.hasResources(ContextConfiguration contextConfiguration)