diff --git a/spring-framework-reference/src/testing.xml b/spring-framework-reference/src/testing.xml
index 6579505aa5..26f74d3b6c 100644
--- a/spring-framework-reference/src/testing.xml
+++ b/spring-framework-reference/src/testing.xml
@@ -480,7 +480,8 @@ public class CustomConfiguredApplicationContextTests {
If class-level usage of @DirtiesContext
- is supported (e.g., with JUnit 4.5+ or TestNG), you can use
+ is supported — for example, with JUnit 4.5+ or TestNG —
+ you can use
@DirtiesContext as both a class-level
and method-level annotation within the same test class. In such scenarios,
the ApplicationContext is marked as
@@ -861,14 +862,14 @@ public void testProcessRepeatedly() {
org.springframework.test.context package) provides
generic, annotation-driven unit and integration testing support that is
agnostic of the testing framework in use, whether JUnit 3.8.2, JUnit
- 4.5+, TestNG 5.10, and so on. The TestContext framework also places a
+ 4.5+, TestNG 5.12, and so on. The TestContext framework also places a
great deal of importance on convention over
configuration with reasonable defaults that can be overridden
through annotation-based configuration.
In addition to generic testing infrastructure, the TestContext
framework provides explicit support for JUnit 3.8.2, JUnit 4.5+, and
- TestNG 5.10 in the form of abstract support classes.
+ TestNG 5.12 in the form of abstract support classes.
For JUnit 4.5+, the framework also provides a custom
Runner that allows one to write test
classes that are not required to extend a particular class