What is the use of @springboottest?



What is the use of @springboottest?..

Answer / Anil Kumar Verma

The @SpringBootTest annotation is used for testing Spring Boot applications. It automatically configures a Spring application context, loads the application and performs any necessary setup such as creating a WebEnvironment or a DataSource.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is the use of @bean in spring boot? : Spring Boot

1 Answers  


In what points, can weaving be applied?

1 Answers  


What are inner beans in spring?

1 Answers  


Explain inversion of control and dependency injection through a simple example.

1 Answers  


How would you integrate spring and hibernate using hibernatedaosupport?

1 Answers  


What is @pathparam?

1 Answers  


What is spring aop used for?

1 Answers  


What is contextloaderlistener?

1 Answers  


What is spring jdbc framework?

1 Answers  


What is the use of @qualifier annotation?

1 Answers  


Why is spring default scope singleton?

1 Answers  


What are the types of dependency injection?

1 Answers  


Categories