Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

VMware Exam 2V0-72.22 Topic 2 Question 47 Discussion

Actual exam question for VMware's 2V0-72.22 exam
Question #: 47
Topic #: 2
[All 2V0-72.22 Questions]

Which two statements are true regarding Spring and Spring Boot Testing? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Contribute your Thoughts:

Merilyn
25 days ago
Wait, wait, wait. Mockito spy not supported? I call shenanigans! Next, they'll tell us we can't use unicorn tears in our tests. (Anyway, B and E are the right answers.)
upvoted 0 times
Antione
4 days ago
I know, right? Mockito spy not being supported is a bummer. But at least we can use @SpringBootTest for creating an ApplicationContext.
upvoted 0 times
...
...
Carman
27 days ago
I can't believe they're asking about EasyMock. Who uses that these days? Mockito is the way to go, my friends. (Psst, the answer is B and E!)
upvoted 0 times
Dominga
19 days ago
I agree, EasyMock is outdated. Mockito is much better.
upvoted 0 times
...
...
Rebeca
1 months ago
Ah, I'm not sure about the Mockito spy thing, but I know Mockito is heavily used in Spring Boot testing. And the spring-test dependency is a lifesaver!
upvoted 0 times
Omega
3 days ago
Yes, that's correct. And D) The spring-test dependency provides annotations such as @Mock and @MockBean.
upvoted 0 times
...
Earleen
17 days ago
I think B) @SpringBootTest or @SpringJUnitConfig can be used for creating an ApplicationContext.
upvoted 0 times
...
...
Teri
2 months ago
Hmm, I think B and E are the correct answers. I've used @SpringBootTest and @SpringJUnitConfig before, and slice testing has been really useful for me.
upvoted 0 times
Brynn
21 days ago
Yes, slice testing has been really helpful in my projects too.
upvoted 0 times
...
Paola
1 months ago
I agree, @SpringBootTest and @SpringJUnitConfig are great for creating an ApplicationContext.
upvoted 0 times
...
...
Billye
2 months ago
I'm not sure about C, but I think E is true because both integration and slice testing are supported in Spring Boot.
upvoted 0 times
...
Bernardine
2 months ago
I agree with you, Blossom. I also believe D is true because spring-test provides annotations like @MockBean.
upvoted 0 times
...
Blossom
2 months ago
I think B is true because @SpringBootTest can create an ApplicationContext.
upvoted 0 times
...
Willetta
2 months ago
I'm not sure about C, but I think E is true because both integration and slice testing are supported in Spring Boot.
upvoted 0 times
...
Alpha
2 months ago
I agree with you, Kenda. I also think D is true because spring-test provides annotations like @MockBean.
upvoted 0 times
...
Kenda
2 months ago
I think B is true because @SpringBootTest can create an ApplicationContext.
upvoted 0 times
...

Save Cancel