Alright, let's go through this step-by-step. C) and D) seem pretty straightforward, but the others have me a bit stumped. Anyone want to take a stab at explaining A) and E) in more detail?
Hold on, are you sure about that? I was under the impression that test methods in a @SpringBootTest class are not transactional by default. Didn't we cover that in the study group?
I think I know the answer to this one. A) and E) seem like the correct statements. The @TestApplicationContext is used to define additional beans or customizations, and @SpringBootTest without any configuration classes expects there to be only one class annotated with @SpringBootConfiguration.
Hmm, this question seems to be testing our understanding of Spring Boot testing. I'm not too sure about some of these options, like the use of @TestApplicationContext. I'll have to think this through carefully.
upvoted 0 times
...
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login
Glenn
7 months agoChana
8 months agoLong
8 months agoGlenn
8 months agoLong
8 months agoEzekiel
9 months agoFletcher
9 months agoJennifer
9 months agoRoxane
9 months agoAshanti
8 months agoNana
8 months agoYoulanda
9 months agoNorah
9 months ago