Annotation Interface RecordApplicationEvents
@RecordApplicationEvents is a class-level annotation that is used to
instruct the Infra TestContext Framework to record all
application events
that are published in the ApplicationContext during the execution of a single test, either from the
test thread or its descendants.
The recorded events can be accessed via the ApplicationEvents API
within your tests.
This annotation may be used as a meta-annotation to create custom composed annotations.
This annotation will be inherited from an enclosing test class by default. See
@NestedTestConfiguration
for details.
- 从以下版本开始:
- 4.0
- 作者:
- Sam Brannen
- 另请参阅: