You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like Spring Boot because it’s super-powerful, but like with any other power tool, you have to be careful not to lose a finger or even a whole arm.One such tool is Spring’s @MockBean, which allows you to easily replace a service (bean) in Spring’s application context.This is really useful...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
blog/mockbean-is-an-anti-pattern
I really like Spring Boot because it’s super-powerful, but like with any other power tool, you have to be careful not to lose a finger or even a whole arm.One such tool is Spring’s @MockBean, which allows you to easily replace a service (bean) in Spring’s application context.This is really useful...
https://filip-prochazka.com/blog/mockbean-is-an-anti-pattern
Beta Was this translation helpful? Give feedback.
All reactions