jeudi 22 janvier 2015

Spring boot configure test database

I need to add tests to my Spring Boot project. With rails framework there is dev and test databases which are created when new project is started. Migrations are applied to both databases to keep the database schemas equal. Unfortunately I didn't find the documentation on how to configure test environment database in Spring boot and how to get the database structure equal to dev.


What is the best practice for testing in Spring Boot? How to setup and add test-data for the test environment? Is there any examples?


Aucun commentaire:

Enregistrer un commentaire