Skip to content

Migrate @MockBean to Spring Framework #27130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
diguage opened this issue Jul 5, 2021 · 2 comments
Closed

Migrate @MockBean to Spring Framework #27130

diguage opened this issue Jul 5, 2021 · 2 comments
Labels
in: test Issues in the test module status: duplicate A duplicate of another issue type: enhancement A general enhancement

Comments

@diguage
Copy link
Contributor

diguage commented Jul 5, 2021

@MockBean is a great tool for the test. It helps me to write a lot of more efficient test code. But my company has some projects which do use Spring Boot. So it can not use @MockBean.

Could you migrate @MockBean to Spring Framework?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jul 5, 2021
@rstoyanchev rstoyanchev added the in: test Issues in the test module label Nov 12, 2021
@snicoll
Copy link
Member

snicoll commented Sep 28, 2023

Duplicate #18655

@snicoll snicoll closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2023
@snicoll snicoll added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Sep 28, 2023
@sbrannen
Copy link
Member

Effectively superseded by #29917 which introduces support for @TestBean, @MockitoBean, and @MockitoSpyBean in the spring-test module in Spring Framework 6.2.

@sbrannen sbrannen changed the title Could you migrate @MockBean to Spring Framework? Migrate @MockBean to Spring Framework Mar 10, 2024
@sbrannen sbrannen added the type: enhancement A general enhancement label Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

5 participants