File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -83,9 +83,12 @@ Or Gradle dependency:
83
83
``` groovy
84
84
testImplementation("com.github.seregamorph:spring-test-smart-context:0.13")
85
85
```
86
- Then remove usages of standard ` @DirtiesContext ` annotation in your project to use auto-close context implemented
87
- by this library.
86
+ Then remove usages of standard ` @DirtiesContext ` annotation in your project on root test classes
87
+ to use smart auto-close context implemented by this library instead. Keep the annotations for tests that really
88
+ "dirty" context changing the shared context state in a way that may lead to conflicts with other tests.
89
+
88
90
Also it's recommended to configure ` "INFO" ` level for ` com.github.seregamorph.testsmartcontext ` logger.
91
+
89
92
Check the [ Demo projects] ( demo ) for examples.
90
93
91
94
### How it works
You can’t perform that action at this time.
0 commit comments