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