Skip to content

Commit d01d97d

Browse files
committed
Readme
1 parent 49340cd commit d01d97d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,12 @@ Or Gradle dependency:
8383
```groovy
8484
testImplementation("com.github.seregamorph:spring-test-smart-context:0.13")
8585
```
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+
8890
Also it's recommended to configure `"INFO"` level for `com.github.seregamorph.testsmartcontext` logger.
91+
8992
Check the [Demo projects](demo) for examples.
9093

9194
### How it works

0 commit comments

Comments
 (0)