Compartir a través de


IBasicTestSite.EndTest Method

Indicates to the test harness that a test case finished.

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

Usage

'Usage

Syntax

'Declaration
void EndTest ()

Remarks

Each generated test case calls the EndTest method of the test manager after the last step in the test case. The test manager then calls the EndTest method of the test site with which it was initialized. The test manager for the test is initialized in the InitializeTestManager method.

Note

The test case calls this method only if the test case passes.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Change History

See Also

Reference

IBasicTestSite Interface
IBasicTestSite Members
Microsoft.SpecExplorer.Runtime.Testing Namespace
IBasicTestSite.BeginTest Method
IGeneratedTestClass.InitializeTestManager
DefaultTestManager.EndTest Method