Unit Test Your Database Code in SSMS Instantly!

An intuitive and convenient GUI for implementing automated unit testing in SQL Server Management Studio. The tool is based on the open-source tSQLt framework, so SQL developers can now benefit from writing unit tests in regular T-SQL. dbForge Unit Test for SQL Server functionality allows you to develop stable and reliable code that can be properly regression tested at the unit level.

What Opportunities the Tool provides?

  • Develop and test in SSMS without the overhead of having to switch to another tool for managing unit tests.
  • Maintain test cases independent of actual data that may be changed over time.
  • Run unit tests in isolation mode with the utmost confidence that the changes will not affect the actual database.
  • Fake database objects to accurately and realistically run unit testing against the database.

Why choosing Unit Test for SQL Server?

  • Provides a user-friendly and intuitive GUI designed to create, organize and execute test cases with a few points and clicks.
  • Preserves the integrity and consistency of underlying data and production database.
  • Completely automates and simplifies the manual and time-consuming process of unit testing.
  • Cuts down time spent on unit testing and brings significant cost savings.

Key Features

T-SQL for Implementing Tests

The tool is based on the open-source tSQLt framework allowing to use T-SQL for implementing unit tests. Now, you can write your code and executing unit tests in the same IDE. The framework also comes with SQL tables, views, procedures and functions to quickly implement unit tests against your database.

No Affect on Actual Database

dbForge Unit Test uses transactions to run test cases and rollback any changes to a database when the test case completes. This means you do not have to worry about the need of cleaning up your database after running unit tests.

In-isolation Testing

The tool creates stored procedure spies, fakes database objects (tables, views, triggers, constraints, etc.), and groups them within a separate schema unit. This allows to isolate the code being tested and avoid undesirable updates, inserts, and deletions inside a database.

Run Multiple Tests in Less Time

dbForge Unit Test for SQL Server allows to quickly run multiple tests with just a few clicks and get instant results. You can simultaneously run all unit tests at once or select any combination of tests for a unit test session.

Built-in unit testing examples

The tool comes with a number of build-in unit test examples you can run against a database. This will help you to get started with unit testing before actually writing your own unit tests in your development database.

Discount Programs

Send us a link to your MVP profile and get a free license for any SQL Server product from Devart range!


Get significant discounts, and even free licenses for spreading a word about dbForge Source Control.

Devart High Five Program for dbForge Source Control for SQL Server

Get 50% OFF for switching to dbForge Source Control for SQL Server tools from competing tools!

SQL Source Control Competitive Upgrade

dbForge Developer Bundle for SQL Server

An ultimate kit of twelve database development and management tools in one package. Grab the full power of dbForge Developer Bundle for SQL Server and benefit from a sensational discount in comparison with buying tools separately.

Developer Bundle Save up to 25