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
6 months agoChana
7 months agoLong
7 months agoGlenn
7 months agoLong
7 months agoEzekiel
8 months agoFletcher
8 months agoJennifer
8 months agoRoxane
8 months agoAshanti
7 months agoNana
7 months agoYoulanda
8 months agoNorah
8 months ago