Commit 347daf69 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.1.x'

parents 39971bbb b7ca1031
...@@ -6677,8 +6677,8 @@ specific slices>> of an application. ...@@ -6677,8 +6677,8 @@ specific slices>> of an application.
TIP: If you are using JUnit 4, don't forget to also add `@RunWith(SpringRunner.class)` to TIP: If you are using JUnit 4, don't forget to also add `@RunWith(SpringRunner.class)` to
your test, otherwise the annotations will be ignored. If you are using JUnit 5, there's no your test, otherwise the annotations will be ignored. If you are using JUnit 5, there's no
need to add the equivalent `@RunWith(SpringExtension)` as `@SpringBootTest` and the need to add the equivalent `@RunWith(SpringExtension.class)` as `@SpringBootTest` and
other `@…Test` annotations are already annotated with it. the other `@…Test` annotations are already annotated with it.
By default, `@SpringBootTest` will not start a server. You can use the `webEnvironment` By default, `@SpringBootTest` will not start a server. You can use the `webEnvironment`
attribute of `@SpringBootTest` to further refine how your tests run: attribute of `@SpringBootTest` to further refine how your tests run:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment