squire | pg_temp | |
---|---|---|
1 | 1 | |
24 | 12 | |
- | - | |
10.0 | 0.0 | |
over 1 year ago | about 1 month ago | |
Go | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
squire
-
Ask HN: How do you test SQL?
On a related note (though it does touch upon testing) mitchellh open sourced Squire[1] recently (today?). Note though, that it's PostgreSQL specific.
[1] https://github.com/mitchellh/squire
pg_temp
-
Ask HN: How do you test SQL?
Here's a nifty python module for testing against postgres that a friend wrote. It creates a temporary database on the fly for testing and tears it down at the end. You can then populate the database and run all kinds of integration tests against it.
https://github.com/ugtar/pg_temp
What are some alternatives?
SS-Unit - A 100% T-SQL based unit testing framework for SQL Server
spark-style-guide - Spark style guide
sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
sqlfluff - A modular SQL linter and auto-formatter with support for multiple dialects and templated code.
pg-mem - An in memory postgres DB instance for your unit tests
hash-db - Experimental distributed pseudomultimodel keyvalue database (it uses python dictionaries) imitating dynamodb querying with join only SQL support, distributed joins and simple Cypher graph support and document storage
datajudge - Assessing whether data from database complies with reference information.
bytebase - The GitLab/GitHub for database DevOps. World's most advanced database DevOps and CI/CD for Developer, DBA and Platform Engineering teams.
fugue - A unified interface for distributed computing. Fugue executes SQL, Python, Pandas, and Polars code on Spark, Dask and Ray without any rewrites.
dbt-unit-testing - This dbt package contains macros to support unit testing that can be (re)used across dbt projects.