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