/sqlmesh-test-tools

Tools for building CTE-level data and unit test files in SQLMesh 🔢

Primary LanguageJupyter Notebook

sqlmesh-test-tools

CLI that auto-generates SQLMesh unit-test YAML files 🔢


Overview (WIP)

Sqlmesh-test-tools is an automated unit-test file builder for SQLMesh projects. It simplifies the process of creating all input, output, and intermediate result datasets for complex SQLMesh pipelines.

It uses dependencies such as Faker, sqlglot, duckdb, and PyYAML to parse SQL code and generate the standard SQLMesh YAML test files. The tool extracts CTEs and corresponding data from SQL code, and then generates all intermediate results based off the provided input data.


Features


Quick start


Contributing


License


References