Partilhar via


IConfigurableGeneratedTestClass Interface

Represents a base class that supports dynamic traversal for test classes generated by Spec Explorer.

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

Usage

'Usage

Syntax

'Declaration
public interface IConfigurableGeneratedTestClass : IGeneratedTestClass

Remarks

During test code generation and on-the-fly testing, Spec Explorer extends the test class specified by the TestClassBase switch. The VsTestClassBase class provides a base test class that is suitable for the Visual Studio testing tools environment. In general, to create a base test class for a testing environment outside Visual Studio, define a custom base test class that extends the GeneratedTestClassBase class.

To create a base test class for a test environment that requires the test class to extend a specific base class, write the custom base test class such that it extends the required base class and implements the IGeneratedTestClass and IConfigurableGeneratedTestClass interfaces. Optionally, the custom base test class can implement the IBasicTestSite interface.

Notes to Inheritors: For guidance on implementing the members of this class, refer to the source code for the GeneratedTestClassBase class.

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

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