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
1 months agoColeen
1 months agoJame
1 months agoWillow
1 months agoGilma
1 months agoGrover
1 months agoJohnetta
19 days agoJustine
1 months agoAlesia
2 months agoElli
3 days agoDorthy
4 days agoRebbeca
5 days agoElvera
25 days agoRodolfo
2 months agoEric
25 days agoEric
30 days ago