Поделиться через


Unit Tests and C++, Generics, and Web Services

This section contains special considerations for unit tests for C++, generic methods, and Web services. For fundamental information about how to create and use unit tests, see Creating and Running Unit Tests for Existing Code.

Key Tasks

Use the following topics to help you create and run unit tests for C++, generics, and Web services:

Tasks

Associated Topics

Creating a Unit Test in Visual C++: There are special considerations to think about when you create unit tests using Visual C++.

Creating a Unit Test for Generic Methods: You can create a unit test for a generic method. You can also view examples of creating unit tests for generic methods.

Creating a Unit Test for a Web Service: You can create a unit test for a Web Service if you want to test the methods in your Web Service.

Creating and Running Unit Tests for Existing Code

Learn the fundamentals about how to create unit tests. This includes data-driven unit tests and unit tests for DLLs and EXEs for which you do not have the source code.

Reference

Microsoft.VisualStudio.TestTools.UnitTesting

Microsoft.VisualStudio.TestTools.UnitTesting.Web

See Also

Concepts

Anatomy of a Unit Test

Verifying Code by Using Unit Tests