Ha, this question is a real Spring Boot brain-teaser! I'm just going to guess and hope for the best. Maybe I'll get lucky and they'll give partial credit for creativity.
Hmm, I'm a bit confused. I thought B was true, but now I'm not so sure. Are test methods really transactional by default in a @SpringBootTest class? That sounds like something I should know.
I think A and C are the true statements. The @TestApplicationContext is used to customize the test context, and @SpringBootTest is typically used for integration testing.
I'm pretty sure C and D are the correct answers. @SpringBootTest is definitely used for integration testing, and it will recreate the ApplicationContext for each test method.
Daniel
5 months agoColeen
5 months agoJame
5 months agoWillow
5 months agoGilma
5 months agoGrover
5 months agoJohnetta
4 months agoJustine
5 months agoAlesia
5 months agoElli
4 months agoDorthy
4 months agoRebbeca
4 months agoElvera
4 months agoRodolfo
5 months agoEric
4 months agoEric
5 months ago