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