Search code examples
sqltsqlt

What version of tSQLt (Database Test Framework) have I installed?


Is there any way I can find the version number of tSQLt that is installed on a database?

Please note that tSQLt is a test framework for SQL server, not T-SQL. (don't vote to close as duplicate of something unrelated, please.)


Solution

  • From the source code, it looks like there is an info function which returns the version number.
    Try

    SELECT * FROM tSQLt.Info()