From 6efb166c3628391360af81f226600348ab985007 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 5 Sep 2016 17:48:47 +0200 Subject: [PATCH] Document before/after test execution callbacks in reference manual Issue: SPR-4365 --- src/asciidoc/testing.adoc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/asciidoc/testing.adoc b/src/asciidoc/testing.adoc index 4e975ef59a..fdd3ed6f1b 100644 --- a/src/asciidoc/testing.adoc +++ b/src/asciidoc/testing.adoc @@ -1098,13 +1098,15 @@ the test instance for which it is responsible. The `TestContext` also delegates `SmartContextLoader` to load an `ApplicationContext` if requested. ===== TestContextManager -`TestContextManager` is the main entry point into the __Spring TestContext Framework__, -which manages a single `TestContext` and signals events to each registered -`TestExecutionListener` at well-defined test execution points: +`TestContextManager` is the main entry point into the __Spring TestContext Framework__ +and is responsible for managing a single `TestContext` and signaling events to each +registered `TestExecutionListener` at well-defined test execution points: * prior to any __before class__ or __before all__ methods of a particular testing framework * test instance post-processing * prior to any __before__ or __before each__ methods of a particular testing framework +* immediately before execution of the test method but after test setup +* immediately after execution of the test method but before test tear down * after any __after__ or __after each__ methods of a particular testing framework * after any __after class__ or __after all__ methods of a particular testing framework