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
3 months agoShaun
3 months agoLayla
3 months agoElbert
1 months agoLaura
1 months agoLoren
2 months agoLeana
2 months agoAzalee
3 months agoJohnson
2 months agoMitsue
2 months agoEmile
3 months agoKenneth
3 months agoMitsue
2 months agoTess
2 months agoYvonne
2 months agoCarole
3 months agoDelpha
4 months agoGiovanna
4 months agoJustine
4 months agoKeneth
4 months ago