Skip to content

Commit

Permalink
Document parallel execution regarding @⁠MockitoBean & @⁠MockitoSpyBean
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Jul 1, 2024
1 parent 56fe857 commit e427ac2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e427ac2

Please sign in to comment.