hamvocke / spring-testing

A Spring Boot application with lots of test examples
https://www.martinfowler.com/articles/practical-test-pyramid.html
1.09k stars 430 forks source link

Handle source .env and ./startDatabase automatically #6

Closed eyatzeck closed 4 years ago

eyatzeck commented 6 years ago

Hi Ham,

I'm making videos about the test reference, and I think it is a distraction that every time I clone the repository, I need to copy example.env to .env, source it, and start the database. For my audience, I want to be able to focus on the tests, not the setup. Is there a theoretical reason why these steps can't be in the gradle build? Thanks again for this--it is really helping us.