zonkyio / embedded-database-spring-test

A library for creating isolated embedded databases for Spring-powered integration tests.
Apache License 2.0
399 stars 37 forks source link

Usage of liquibase scripts #203

Closed setofaces closed 2 years ago

setofaces commented 2 years ago

Hello there. I am not sure that container uses liquibase sciprts properly, is there any sequence of actions to be performed in order to be sure liquibase is used? Couldnt find any information except refresh strategy. At the moment, I have explictly written property spring.liquibase.change-log and @AutoConfigureEmbeddedDatabase(refresh = BEFORE_CLASS) on my test class. Is this enough, I strongly doubt. Thank you in advance.

setofaces commented 2 years ago

Dumb me, adding dependency of liquibase-core solved the problem, just scripts not enough