Udostępnij za pośrednictwem


Smart Device Test Projects

Smart device test projects are containers that hold tests for managed smart device projects. If your solution does not contain any test projects, a new test project is created automatically and added to the solution when you create your first smart device unit test. Newly created tests are added to the test project. Smart device test projects can hold smart device unit tests, manual tests, and ordered tests.

For information about how to create test projects, see How to: Create a Test Project.

Differences in Smart Device Test Projects

Major differences between smart device test projects and other test projects are in the following list:

  • Smart device test projects are only available in two languages: Visual C# and Visual Basic. Visual C++ is not supported.

  • Smart device test projects can contain smart device unit tests, manual tests, and ordered tests.

    Note

    Smart device test projects do not support generic, Web, database unit, and load tests.

  • Smart device test projects cannot be created from the Add New Project dialog box.

  • Selecting Start Debugging on the Debug menu, DebugSelection in the TestView window, or DebugCheckedtests in the TestListEditor only runs and does not debug a test that runs under the smart device host. For more information, see How to: Debug while Running a Smart Device Unit Test.

  • Smart device test projects ignore the Test Project settings. To find the Test Project settings, on the Tools menu, click Options, and then expand Test Tools. This means you cannot configure the way smart device test projects are created. For information about test project settings, see How to: Configure Test Project Creation.

  • Smart device test projects do not support the following features of the Project Designer:

    • Provision certificate to device.

      Certificates will not be provisioned to the device.

    • Deploy the latest version of the .NET Compact Framework (including service packs).

      The .NET Compact Framework will not be installed on the device.

See Also

Concepts

Overview of Smart Device Unit Tests

Other Resources

Testing Tools for Smart Device Projects