There is two Specs, one for unit tests with a H2 D...
# kotlintest
v
There is two Specs, one for unit tests with a H2 DB connection, and the other for Integration tests with Pg connection. The connecion details is setted within the spec's
SystemEnvironmentTestListener
which works perfectly when I start every Spec using the IDE tool. When I start the test gradle script it executes all tests but with the H2 connection in both, maybe because of the CP cache. My question is, can I completely restart the environment between Spec tests?