Write unit tests for SQL Server databases in SQL Server Management Studio
If you want to do SQL Server unit testing in T-SQL, and run it as part of your automated builds, SQL Test is the place to start.
It's simple to set up, you don’t need extra tools, and you don't need to learn new technologies.
SQL Test also comes with pre-written SQL Cop tests, to help you enforce best practices for database development and run static analysis tests.Try SQL Test free for 28 days
SQL Test stores its objects in a separate schema, so they won’t get in your way. The tests run in transactions, which rolls back any changes. You won’t need any clean-up code.
“Everyone is excited about SQL Test – it allows us to complete our agile test-driven development journey.”
Pick your tests, click one button, and the SQL Test UI will display each result as it comes in.
SQL Test comes with stored procedures for faking tables, triggers, and constraints. They make it easy to test your objects in isolation, without adding extra data for IDs or foreign keys.
SQL Test has built-in SQL Server unit testing examples to help you get started, and SQL Cop tests to check for problems such as fragmented indexes, badly sized data types, and missing keys.
Redgate helps IT teams balance the need to deliver software faster with the need to protect and preserve business critical data.
Your business benefits from a DevOps approach to database development, while staying compliant and minimizing risk.Learn more about the benefits