DemoApplicationTests.java

As a bonus, the following is an example of a simple integration test that you can use as a guide, to keep writing tests for your new code. Thanks to annotations, writing this kind of test is relatively simple:

@RunWith(SpringRunner.class)
@SpringBootTest
public class DemoApplicationTests
{
@Test
public void contextLoads()
{
}
}

The preceding explanations should be enough to provide you with a brief overview so that you can understand what Spring Boot is and what its benefits are. Now, it's time to review other Spring projects that you'll love.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.88.110