spring-framework/framework-docs/modules/ROOT/pages/testing/annotations/integration-spring
Simon Baslé 1c893e6354 Add `@MockitoBeanSettings`, use MockitoSession with strict stubs default
This commit changes the way the `MockitoTestExecutionListener` sets up
mockito, now using the `MockitoSession` feature. Additionally, stubbing
now defaults to a STRICT mode which can be overruled with a newly
introduced annotation: `@MockitoBeanSettings`.

Closes gh-33318
2024-08-07 14:57:15 +02:00
..
annotation-activeprofiles.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
annotation-aftertransaction.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-beforetransaction.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-bootstrapwith.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
annotation-commit.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-contextconfiguration.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
annotation-contextcustomizerfactories.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
annotation-contexthierarchy.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
annotation-dirtiescontext.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
annotation-disabledinaotmode.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
annotation-dynamicpropertysource.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
annotation-mockitobean.adoc Add `@MockitoBeanSettings`, use MockitoSession with strict stubs default 2024-08-07 14:57:15 +02:00
annotation-recordapplicationevents.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
annotation-rollback.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-sql.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-sqlconfig.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-sqlgroup.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-sqlmergemode.adoc Fix migration to asciidoctor tabs 2023-05-09 12:15:43 +01:00
annotation-testbean.adoc Support fully-qualified factory method names in @⁠TestBean 2024-06-30 21:16:04 +02:00
annotation-testexecutionlisteners.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
annotation-testpropertysource.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00
annotation-webappconfiguration.adoc Clarify supported targets for annotations in the TestContext framework 2024-05-07 16:45:12 +03:00