Merge pull request #16213 from orangeroad0922

* pr/16213:
  Polish "Fix typo in spring-boot-features.adoc"
  Fix typo in spring-boot-features.adoc
This commit is contained in:
Stephane Nicoll
2019-03-12 17:21:37 +01:00

View File

@@ -6613,8 +6613,8 @@ specific slices>> of an application.
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
need to add the equivalent `@ExtendWith(SpringExtension)` as `@SpringBootTest` and the
other `@…Test` annotations are already annotated with it.
need to add the equivalent `@ExtendWith(SpringExtension.class)` as `@SpringBootTest` and
the other `@…Test` annotations are already annotated with it.
By default, `@SpringBootTest` will not start a server. You can use the `webEnvironment`
attribute of `@SpringBootTest` to further refine how your tests run: