Tagged: spring


Testing Spring boot with ScalaTest

Introduction Spring boot tests provides great support for testing which combined with the sugar syntax form Scala makes testing more pleasant and less verbose. In this article we will build a Rest Controller build...


How to do integration tests with Spring Boot and Spock

In the latest version of Spring Boot (1.4) they have introduced a new annotation called @SpringBootTest. Previous to this version you may have used either @ContextConfiguration or @SpringApplicationConfiguration combined with @IntegrationTest or/and @WebIntegrationTest to...


How to connect to MongoDB 3.0 using Spring Boot

My problem Yesterday, I spent more than 5 hours trying to fix a compatibility issue between the latest version of spring-boot (1.2.6.RELEASE) and a mongoDb 3.0 database. My problem was that I was using...