Update testing improvements in "What's New"
This commit is contained in:
@@ -692,6 +692,8 @@ Spring 4.3 also improves the caching abstraction as follows:
|
||||
|
||||
* The JUnit support in the _Spring TestContext Framework_ now requires JUnit 4.12 or higher.
|
||||
* New `SpringRunner` _alias_ for the `SpringJUnit4ClassRunner`.
|
||||
* Test related annotations may now be declared on interfaces -- for example, for use with
|
||||
_test interfaces_ that make use of Java 8 based interface default methods.
|
||||
* 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` (e.g., in TestNG and JUnit 5).
|
||||
@@ -707,8 +709,10 @@ Spring 4.3 also improves the caching abstraction as follows:
|
||||
custom `ContextLoader`.
|
||||
* `@Sql` and `@SqlGroup` may now be used as _meta-annotations_ to create custom _composed
|
||||
annotations_ with attribute overrides.
|
||||
* `ReflectionTestUtils` now automatically unwraps proxies when setting or getting a field.
|
||||
* 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.
|
||||
* Server-side Spring MVC Test supports mock-like assertions for invoked handler methods.
|
||||
* Client-side REST test support allows indicating how many times a request is expected and
|
||||
whether the order of declaration for expectations should be ignored (see <<spring-mvc-test-client>>).
|
||||
* Client-side REST Test supports expectations for form data in the request body.
|
||||
|
||||
Reference in New Issue
Block a user