Use Liquibase for test-only migrations section of the reference manual goes at length to describe an approach of managing test-only migrations using Spring profiles. However, Liquibase provides first-class support for such use-cases using contexts and/or labels. Arguably, it would be better if this section guided users towards these.
Here are some relevant resources: - https://docs.liquibase.com/concepts/changelogs/attributes/contexts.html - https://docs.liquibase.com/concepts/changelogs/attributes/labels.html - https://www.liquibase.com/blog/contexts-vs-labels