I'd go with C and D. It's important to understand how @SpringBootTest works to properly set up your integration tests. And the ApplicationContext recreation is crucial.
Haha, I'm not sure about the correct answers, but I do know that testing in Spring Boot is a piece of cake! No more manually wiring up all those beans.
I agree with Kenneth. C and D are the correct answers. Though I'm not sure about the default transactional behavior in B. Might have to double-check that one.
I agree with Keneth, A and D make sense because @TestApplicationContext allows for customizations and @SpringBootTest recreates the ApplicationContext.
Mila
3 days agoShaun
5 days agoLayla
6 days agoAzalee
16 days agoEmile
10 days agoKenneth
25 days agoCarole
15 days agoDelpha
1 months agoGiovanna
1 months agoJustine
2 months agoKeneth
2 months ago