3

Following How to create liquibase changeset for integration tests in springboot? I want to ensure that test data is separeted from production. Is attribute 'context' in:

<changeSet id="test_data_inserts" author="me" context="test">
    <sqlFile path="test_data.sql" relativeToChangelogFile="true" />
</changeSet>

the only way to do that? I would like not to directly point to test-data in my master.xml databaseChangeLog under src\main\resources\config\liquibase.

Bartek
  • 2,109
  • 6
  • 29
  • 40

0 Answers0