Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

tSQLt

Free#9 of 28 in Database Testing Tools

tSQLt: A focused, free framework for testing SQL Server databases inside development workflows. Ranked #9 of 28 in Database Testing Tools by our editors (7.9/10); pricing: Free plan; best for SQL Server database unit testing.

7.9/10Editor score
tSQLt7.9 Visit tSQLt

At a glance

  • Editor score
    7.9 / 10
  • Pricing
    Free plan
  • Best for
    SQL Server database unit testing
  • Free plan
    Yes
  • Paid from
    Free
  • Schema migration tests
    Yes
  • Facts checked
    21 Sep 2026
tSQLt screenshot
  • Where it wins

    • Writes database unit tests directly in T-SQL
    • Fakes tables and spies on stored procedures for isolation
    • Generates text or XML output for CI workflows
  • Where it doesn't

    • Supports Microsoft SQL Server only
    • Requires self-hosted test execution
    • Not intended for production database installation

Our verdict on tSQLt

tSQLt is an open-source database unit testing framework for Microsoft SQL Server. It is designed for database developers who want to write tests in T-SQL, organize them into schemas, and run individual tests, test classes, or complete test suites. Its assertions cover values, table contents, table schemas, metadata, and object existence, while its isolation features support faking tables, views, and synonyms and spying on stored procedures.

The project follows an open-source, free model rather than a tiered commercial plan structure. Its testing scope includes schema migration tests, stored procedure tests, and data quality checks. Test execution is self-hosted, with the framework installed directly into a development database. Results can be generated as plain text or XML, and the output can integrate with continuous integration tools including CruiseControl, TFS, and Bamboo.

The main trade-off is focus. tSQLt is tightly aligned with Microsoft SQL Server and T-SQL, so it fits teams that want database-level testing within that ecosystem. It is not intended for production installation, and teams seeking a managed service, broader database coverage, or a hosted execution model should choose an alternative. Pick tSQLt when SQL Server-specific unit testing, transaction-based execution, fakes, spies, and CI output matter more than cross-platform breadth.

Your product? Our editors can test tSQLt in depth and publish a review, labelled as paid · from $149/mo →

tSQLt pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on tsqlt.org

tSQLt fact sheet

Free planYes
Paid fromFree
Database supportMicrosoft SQL Server
Schema migration testsYes
Stored procedure testsYes
Data quality checksYes
Test executionSelf_hosted
Test languageT-SQL
DeploymentSelf-hosted
SupportDocs, Community
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations3 integrations: CruiseControl, TFS, Bamboo
PricingFree plan
Websitetsqlt.org
Facts checked21 Sep 2026

tSQLt integrations

tSQLt lists 3 integrations on its own site.

  • CruiseControl
  • TFS
  • Bamboo

Alternatives to tSQLt

See all tSQLt alternatives →

Used tSQLt? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used tSQLt for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — tSQLt 7.9/10

tSQLt is listed in our Database Testing Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/tsqlt/"><img src="https://www.itechguides.com/best/badge/tsqlt.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update