Skip to content
SPECIFICTION
Get listed

Great Expectations vs tSQLt

Great Expectations

greatexpectations.io

tSQLt

tsqlt.org

Side by side

FigureGreat ExpectationstSQLt
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WebYes—
macOSYes—
LinuxYes—
APIYes—
Self-hostedYesYes
Plans published31
Spec score · Database Testing Tools8.2 (#9)7.8 (#14)

Plans

Great Expectations

  • DeveloperFree
  • EnterprisePriced on request
  • TeamPriced on request

Great Expectations pricing →

tSQLt

  • tSQLtFree

tSQLt pricing →

In their own words

Great Expectations

Great Expectations (GX) is a framework for defining data tests and checking whether data meets their criteria. GX Core is a Python library for building and running data-validation workflows, and it requires Python versions 3.10 through 3.13. GX Cloud provides a web interface for data teams, including technical and nontechnical stakeholders, and runs tests in the environment where connected data resides using read-only connections. Data Docs turns Expectations, validation results, and related metadata into static web pages. GX lists data-source integrations including Databricks, BigQuery, Pandas, PostgreSQL, Snowflake, Spark, Redshift, and cloud storage services. Notification integrations include Slack, Email, PagerDuty, OpsGenie, and Microsoft Teams; orchestration integrations include Apache Airflow, Dagster, and Prefect. Custom rules can be written with SQL in GX Cloud or through GX Core. The Developer plan costs nothing and covers up to five data assets under test per month and three users, with unlimited rows per asset. Team and Enterprise have custom data-asset limits and no listed prices.

Visit greatexpectations.io

tSQLt

tSQLt is an open-source unit testing framework for Microsoft SQL Server. Developers write tests in T-SQL, organize them in schemas, and define shared setup methods there. Tests run automatically inside transactions to remain independent and reduce cleanup work. For isolation, tSQLt can fake tables and views and create stored procedure spies. Assertions include AssertEquals and AssertEqualsTable, while results can be generated as plain text or XML for continuous integration tools. The project says it works with SQL Server editions from SQL Server 2005 Service Pack 2 onward. tSQLt is self-hosted, released under the Apache 2.0 license, and the listed plan costs nothing. Installation requires running PrepareServer.sql once per server with SA permission, then installing the framework in a development database. The quick start explicitly says never to install tSQLt in production. Redgate SQL Test is named as its preferred SSMS plug-in.

Visit tsqlt.org