eli64s / sqlmesh-test-tools

Tools for building CTE-level data and unit test files in SQLMesh πŸ”’

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


About

Tools for building CTE-level data and unit test files in SQLMesh πŸ”’


Languages

Language:Jupyter Notebook 73.3%Language:Python 26.7%