Share via


How to: Install Third-Party Unit Test Frameworks

Visual Studio Test Explorer can run any unit test framework that has developed an adapter interface for the Explorer. The install program of the framework installs the binaries and adds Visual Studio project templates for the languages it supports. When you create a project with the template, the framework is registered with Test Explorer. A Visual Studio solution can contain unit test projects that use different frameworks and that are targeted at different languages. Test Explorer runs them all.

Requirements

  • Visual Studio Ultimate, Visual Studio Premium, Visual Studio Professional

Acquiring third-party frameworks

You can download and install many third-party unit test frameworks by using the Visual Studio Extension Manager, or from the Visual Studio Gallery on the MSDN website. Frameworks can also be downloaded from other sites such as the website of the framework.

Installing from Visual Studio

  1. Choose Tools on the standard menu, and then choose Extension Manager.

  2. On the Extension Manager dialog box, expand Online Extensions, expand Visual Studio Gallery, and then expand Tools. Choose Testing.

  3. Browse the list to find the framework.

  4. Select the framework and choose Download.

For more information see Installing and Managing Visual Studio Tools and Extensions.

Installing from the web

If you know the framework you are interested in:

  1. Open Visual Studio Gallery on the MSDN website (https://go.microsoft.com/fwlink/?LinkId=236267).

  2. Type the name of the framework in the Find box.

  3. Choose the framework in the results list to navigate to the Visual Studio Gallery page for the tool.

To browse a list of frameworks along with other testing tools:

  1. Open Visual Studio Gallery on the MSDN website (https://go.microsoft.com/fwlink/?LinkId=236267).

  2. Choose Browse.

  3. In the Category list, expand the Tools node and then choose Testing.

  4. Choose a framework in the results list to navigate to a Visual Studio Gallery page for the tool.

See Also

Concepts

Verifying Code by Using Unit Tests