This repository contains code to demonstrate the use of the new Spring Boot 1.5 testing support.
In particular it shows the usage of:
- AssertJ
@LocalServerPort
through TestingWithSpringBootApplicationTests.java@RestClientTest
through DealerServiceIntegrationTests.java@JsonTest
through TransactionJsonTests.java@DataJpaTest
through CarRepositoryIntegrationTests.java@MockBean
and@WebMvcTest
through CarControllerTests.java@WebMvcTest
with Selenium and HtmlUnit through CarControllerSeleniumTests.java and CarControllerHtmlUnitTests.javaTestRestTemplate
through CarControllerRestTests.java@Rule OutputCapture
through through OutputCapturingTests.java