Partager via


ITestManager Interface

Supervises the process in which the test cases run and also provides logging and checking functions for test cases. The test manager supports the test case code generated by Spec Explorer.

Namespace: Microsoft.SpecExplorer.Runtime.Testing
Assembly: Microsoft.SpecExplorer.Runtime (in Microsoft.SpecExplorer.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
public interface ITestManager

Remarks

When creating a custom test class, you might need to create a default test manager or need to call its methods from your implementation of the test class. The VsTestClassBase class provides a test class that works within the Visual Studio Team Test environment. The GeneratedTestClassBase class provides an abstract base implementation of a test class, which can be used to define a test class that can integrate with another test environment.

This class is initialized with a reference to an IBasicTestSite object, and some of the methods of this class call methods of the IBasicTestSite object.

Notes to Inheritors: In general, because of the level of integration that a test manager must maintain with the Spec Explorer run-time environment, use the DefaultTestManager class instead of implementing a test manager directly.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

ITestManager Members
Microsoft.SpecExplorer.Runtime.Testing Namespace
DefaultTestManager Class
GeneratedTestClassBase Class
VsTestClassBase
IBasicTestSite Interface