Browse Source

Document parallel execution regarding @⁠MockitoBean & @⁠MockitoSpyBean

pull/33134/head
Sam Brannen 2 years ago
parent
commit
e427ac2683
  1. 1
      framework-docs/modules/ROOT/pages/testing/testcontext-framework/parallel-test-execution.adoc

1
framework-docs/modules/ROOT/pages/testing/testcontext-framework/parallel-test-execution.adoc

@ -16,6 +16,7 @@ for when not to run tests in parallel. @@ -16,6 +16,7 @@ for when not to run tests in parallel.
Do not run tests in parallel if the tests:
* Use Spring Framework's `@DirtiesContext` support.
* Use Spring Framework's `@MockitoBean` or `@MockitoSpyBean` support.
* Use Spring Boot's `@MockBean` or `@SpyBean` support.
* Use JUnit 4's `@FixMethodOrder` support or any testing framework feature
that is designed to ensure that test methods run in a particular order. Note,

Loading…
Cancel
Save