Using H2 database only for Unit testing

Viewed 7165

I have a spring boot application standing on Postgres database.

Now I want to use h2 database for Unit testing alone.

Is this right to do? or what is the recommendation

2 Answers
Related