次の方法で共有


Install third-party unit test frameworks

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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 Enterprise, 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 Extensions and Updates.

  2. Expand Online, Visual Studio Gallery, Tools. Choose Testing.

  3. Browse the list to find the framework.

  4. Select the framework and choose Download.

    For more information see Finding and Using Visual Studio Extensions.

Installing from the web

If you know the framework you are interested in:

  1. Open Visual Studio Marketplace.

  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:

  4. Open Visual Studio Marketplace.

  5. Choose Browse.

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

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

See Also

Unit Test Your Code