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
7 months agoColeen
7 months agoJame
7 months agoWillow
7 months agoGilma
7 months agoGrover
8 months agoJohnetta
7 months agoJustine
7 months agoAlesia
8 months agoElli
6 months agoDorthy
6 months agoRebbeca
6 months agoElvera
7 months agoRodolfo
8 months agoEric
7 months agoEric
7 months ago