The guide describes how to install a sample database and then run the tests included with it.
1. Open the Install Sample Database dialog by selecting Database > Unit Test > Install Sample Database.

2. Select the server to install the sample database.
Tip
The default database name is tSQLt_Example. To use a different name, enter it in the Database field.
3. Click Install to install the sample database.
When the installation is complete, a confirmation message appears:
The sample framework has been successfully installed.
4. Click Finish to close the dialog.
The sample database appears under the specified server connection in Database Explorer.
You can run all tests at once from Database Explorer or choose to run all or selected tests from Test List Manager.
In Database Explorer, right-click the sample database and select Unit Test > Run All Tests.
This operation runs all tests at once and displays their results in the Test Results grid, including the test status, name, class name, execution time, and error messages (if any).

1. In Database Explorer, expand the sample database, then expand Programmability > Procedures.
2. Right-click a required test and select Unit Test > Run Test.
To run all tests, right-click the Procedures node and select Unit Test > Run All Tests.
1. Open Test List Manager by doing one of the following:
2. On the Test List Manager toolbar, choose a server connection.
3. In the test projects tree, select the checkboxes next to the sample database and its AcceleratorTests.
By default, all tests are selected to run.
4. To run tests with selected checkboxes, right-click the grid and select Run Checked Test(s).
5. To run the tests highlighted in the grid, right-click the grid and select Run Selected Test(s).
Tip
To highlight multiple tests, hold down Ctrl and click each test.
