Welcome to T.S.T.
TST is a tool that simplifies writing and running automated tests for code written in T-SQL. At the core of the TST tool is the TST database. This database contains a series of stored procedures that represent a test API. Part of this API is similar with that found in Unit Testing libraries familiar to programmers in C# or Java.Feature Highlights
Current release: Version 1.9Related project on CodePlex:
- Support for validating views as well as stored procedures and functions that return a table.
- A reliable implementation of Assert.Equals / Assert.NotEquals procedures. They detect when a comparison should not be made due to incompatibility of the data types. Additional procedures like Assert.NumericEquals, Assert.NumericNotEquals, Assert.FloatEquals, Assert.FloatNotEquals are provided.
- Can run concurrent test sessions against the same or different databases.
- Can generate XML results.
- Automatic rollback of the database changes done during each test.
- TST will detect when its own rollback mechanism becomes ineffective in some scenarios that involve testing code that uses transactions. The TST rollback can be disabled at the test, suite or global level.
- No need to register the test stored procedures; they are picked up automatically by the TST test runners.
- Can be run from the command prompt or directly by calling one of the test runner stored procedures.
- The TST infrastructure is isolated in a separate database.
- Easy to install and integrate with other test frameworks.
- Does not have any dependencies besides SQL Server.
- Very small learning curve for someone already familiar with T-SQL.
Managed Code Interface for T-SQL Test Tool http://www.codeplex.com/MCI4TST
. Complete documentation including a Quick Start section:
7 minutes video demo: http://www.youtube.com/watch?v=bLtK20bl7G4Author's home page and other projects: http://www.ladimolnar.com
. The TST API