Quality Checks

Note: This is a Liquibase Pro feature, so you need a Liquibase Pro License Key to use it.

Liquibase Quality Checks allow you to define and adhere to code standards to ensure compliance and data quality. Using Quality Checks, you can analyze your changelogs, changesets, and SQL for specific commands and patterns that require close review early in the development life cycle. You can integrate this feature into your build and deployment automation.

Diagram of the developer workflow using quality checks.

Business Benefits

Quality Checks deliver the following benefits:

  • Reduce Errors and Risk: Automatically enforce consistent and high-quality changes that meet your governance requirements.
  • Stay Compliant: Catch non-compliant changes and notify developers with Checks Reports in your automation pipeline.
  • Increase Productivity: Reduce manual reviews by enforcing policy standards automatically in your CI/CD pipeline.
  • Ensure Data Quality: Enforce code standards and correct nomenclature, patterns, and labels to ensure data is entered correctly.

Example Scenarios

  • Enforce Standards: Quickly and easily validate naming standards, column links, and other common changes.
  • Access/Privileges: Secure your database by getting immediate notice that user and role privileges are being modified.

High-Level Architecture

This is a high-level overview of how Quality Checks fit together:

  • Define policies to be enforced in a central location.
  • Integrate checks into automation to validate each change.
  • Review checks report.

Component/architecture diagram of the Liquibase quality checks workflow.

Implement Quality Checks

  1. Set up quality checks for your team

  2. Integrate quality checks into manual and automated deployments

Review and Share Your Checks Report

Graphical output of checks report. Contains a warning about critical errors followed by a runtime summary and other details.

Automatically generate a Checks Report using the Liquibase checks run command. The Checks Report gives you an easy-to-read, sharable summary of command metadata, warning messages, check severity levels, checks packages, and configuration details, plus an organized summary of check output in a browser page

Related topics