Use the liquibase checks run command to run Policy checks to test them.
Liquibase sorts checks into two scopes, changelog checks and database checks. For changelog scoped checks, each check is run against the changesets in the changelog. For database scoped checks, each check is run against the objects in the database.
Checks can be scoped to both the changelog and the database. See checks-scope for additional information.
By default, only changelog checks are included in checks run unless the checks-scope property is specified.
To run policy checks against the database, run liquibase checks run --checks-scope=database.
For more information about how to use Policy Checks, check out the University course and our documentation here.