SpringBoot @IntegrationTest annotation for testing
<p>I am very new to SpringBoot. I need to understand how to write an integration test using SpringBoot. I have seen some examples on the Internet which use the @IntegrationTest annotation whereas some other examples which use the @SpringBootTest annotation. </p>

<p>I am just wondering what is the difference between the two? </p>

<p>Which is the best way of writing an integration test in Spring boot?</p>