From 92e715ed9368d5b80bf16ff2fd184a738960db9a Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 12 Mar 2016 14:46:36 +0100 Subject: [PATCH] Update "What's New" regarding new testing features --- src/asciidoc/whats-new.adoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/asciidoc/whats-new.adoc b/src/asciidoc/whats-new.adoc index 94c69ef568..3088214000 100644 --- a/src/asciidoc/whats-new.adoc +++ b/src/asciidoc/whats-new.adoc @@ -685,10 +685,15 @@ Spring 4.3 also improves the caching abstraction as follows: === Testing Improvements * The JUnit support in the _Spring TestContext Framework_ now requires JUnit 4.12 or higher. -* New `SpringRunner` __alias__ for the `SpringJUnit4ClassRunner`. +* New `SpringRunner` _alias_ for the `SpringJUnit4ClassRunner`. * An empty declaration of `@ContextConfiguration` can now be completely omitted if default XML files, Groovy scripts, or `@Configuration` classes are detected. +* `@Transactional` test methods are no longer required to be `public` (in TestNG and JUnit 5). * `@BeforeTransaction` and `@AfterTransaction` methods are no longer required to be `public`. +* New `ContextCustomizer` API for customizing a test `ApplicationContext` _after_ bean + definitions have been loaded into the context but _before_ the context has been refreshed. + Customizers can be registered globally by third parties, foregoing the need to implement a + custom `ContextLoader`. * Server-side Spring MVC Test supports expectations on response headers with multiple values. * Server-side Spring MVC Test parses form data request content and populates request parameters. * Client-side REST test support allows indicating how many times a request is expected and