Quiz Yourself on Testing

Test yourself on the concepts of testing.

1

Which of the following annotation do you use to write a test for a controller class?

A)

@Test

B)

@WebTest

C)

@WebMvcTest

Question 1 of 40 attempted

Get hands-on with 1200+ tech skills courses.