
Write and run unit tests for SQL Server databases in SSMS.
Prices from:
| Available individually | Our Price |
|---|---|
| SQL Test | Loading |
| Also available in | |
|---|---|
| SQL Toolbelt Essentials | Loading |
| SQL Toolbelt | Loading |

SQL Test installs as a plugin for SQL Server Management Studio, providing an intuitive interface to create, run, and manage unit tests directly inside the SQL Server environment.
Tests are written in standard T-SQL using the open-source tSQLt framework, enabling developers to validate stored procedures, functions, triggers, and views with familiar SQL syntax.
Tests run inside transactions that roll back changes automatically, ensuring the database state is never altered and no cleanup code is necessary after each test.
All testing objects and procedures are stored in dedicated schemas separate from business schemas to avoid clutter and conflicts with application code.
Provides stored procedures to fake tables, triggers, and constraints, allowing tests to isolate targeted database components without relying on dependent data or foreign keys.
Users can run individual tests, test classes, or all tests in a database with a single click, and view test results in real-time through the integrated UI.
Includes a rich set of pre-written static code analysis tests that scan for issues like fragmented indexes, poor data type sizing, and naming conventions to help enforce development best practices.
Offers code coverage analysis to assess how much of the database code has been exercised by tests, highlighting executed statements within object definitions.
Ships with example unit tests and sample databases to accelerate learning and adoption of effective database testing practices.
Review the details below to ensure this product is supported within your environment.
Available individually or as part of SQL Toolbelt Essentials.
Compare the features in SQL Test and SQL Toolbelt Essentials.
| This PageSQL Test | |
|---|---|
| SQL Compare | |
| Automatically create error-free deployment scripts | Not included |
| Automatically create error-free synchronization scripts | Not included |
| Automatically output a database into individual object creation scripts | Not included |
| Azure Active Directory authentication | Not included |
| Build sophisticated rules to selectively limit what to deploy | Not included |
| Choose how to examine differences: SQL View or Summary View | Not included |
| Compare and deploy changes to SQL Server database schemas (from dev, to test, to production) | Not included |
| Compare two SQL Server databases, synchronize, and deploy from within SSMS | Not included |
| Comparison and deployment of large databases | Not included |
| Dependency checking, so objects are scripted in the correct order for updates | Not included |
| Deploy a live database from a set of SQL object scripts | Not included |
| Deploy individual schema differences, a selection of them, or all of them | Not included |
| Fine-grained filtering of database objects | Not included |
| Generate T-SQL scripts that update one SQL Server database to match the schema of another | Not included |
| HTML report generation detailing database differences | Not included |
| Linux command-line support (beta) | Not included |
| Migrate individual schema differences, a selection of them, or all of them | Not included |
| Restore just a single object (or selection of objects) from a backup file | Not included |
| Run deployments from the command line* | Not included |
| Save deployment scripts for later use | Not included |
| Save schema snapshots for audit and roll-back purposes | Not included |
| Securely save database and server login details | Not included |
| Support for connections to SQL Server instances on Linux | Not included |
| Support for reading encrypted database objects | Not included |
| Support for Retention Tables | Not included |
| Support for SQL Graph | Not included |
| Support for Temporal Tables | Not included |
| Troubleshoot database differences | Not included |
| Troubleshoot database differences and explore schema changes to see what's going on in development | Not included |
| Warnings about anything you need to be aware of before deploying SQL Server schemas | Not included |
| SQL Data Compare | |
| SQL Data Generator | |
| SQL Dependency Tracker | |
| SQL Doc | |
| SQL Multi Script | |
| SQL Prompt | |
| SQL Source Control | |
| SQL Test | |
Redgate Software, founded in 1999 and headquartered in Cambridge, UK, specializes in database management solutions trusted by more than 200,000 customers worldwide. It is recognized for enabling IT professionals and organizations to address the complexities of database DevOps across diverse environments. Popular products such as Redgate Flyway, Redgate Monitor, and Redgate Test Data Manager support efficient development cycles, data security, and high-quality releases. With a global presence and adoption by 92% of the Fortune 100, Redgate stands out for its commitment to simplifying database processes and supporting industry best practices.
Learn more about Redgate Software|Explore Redgate Software products

As official and authorized distributors since 2005, ComponentSource supplies you with legitimate licenses directly from Redgate Software.
Chat with our customer support team