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, and E is also true because @SpringBootTest without any configuration classes expects there is only one class annotated with @SpringBootConfiguration in the application.
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
4 months agoShaun
4 months agoLayla
4 months agoElbert
2 months agoLaura
2 months agoLoren
3 months agoLeana
3 months agoAzalee
4 months agoJohnson
3 months agoMitsue
3 months agoEmile
4 months agoKenneth
4 months agoMitsue
3 months agoTess
3 months agoYvonne
3 months agoCarole
4 months agoDelpha
5 months agoGiovanna
5 months agoJustine
5 months agoKeneth
5 months ago