How to configure a spring boot app that uses Postgres to use H2 for tests?

后端 未结 0 425
梦毁少年i
梦毁少年i 2020-12-19 18:51

I have a Spring Boot app that is using JPA and Postgres, with Postgres included as a maven dependency.

For unit and integration tests I want to introduce the H2 in me

相关标签:
回答
  • 消灭零回复
提交回复
热议问题