tSQLt Test Explorer for Visual Studio CodeThis extension enables you to run tSQLt unit tests from Visual Studio Code with the Test Explorer UI. Getting started
FeaturesInspecting test resultThe result of a test run can be inspected by clicking on any given test. RequirementsTo discover and running unit tests, the extension requires a running database with the tSQLt framework installed. There are numerous posts online that describes how to setup your database project with tSQLt as a testing framework, and how to include it in your workflow. Be aware! Never install the testing framework on a production database. Extension SettingsThis extension contributes to the following settings and are required for discovering and running tests.
Known Issues
This is an early release of the extension. Issues can be reported here Release Notes0.1.0Initial release of the extension to the public. 0.1.1Bug fix: For stored procedures that output data, fix the parser so that the tSQLt result information is what is parsed for test results. New: The test execution summary is now in table format. It also includes the Duration (ms) of the executed test. This looks similar to the output when running a tSQLt test directly in SSMS. |