Running All Tests

To run all tests against a database:

  1. In Database Explorer, right-click a connected database or a specific database object.
  2. Navigate to Unit Test, and then click Run All Tests on the shortcut menu.
  3. After the tests are completed, the Test Results window appears. The window displays a grid containing details for each test. Specifically, it shows the status of a test (failed or succeeded), test name, class name, and error message (if any).

    Run All Tests

  4. There are several buttons on the Test Results toolbar for managing the results of tests, in particular:

    • The Run Checked Test(s) button allows to rerun all the checked tests.
    • The Run All Tests button allows to rerun all the tests.
    • The Stop button allows to stop the current testing process.