GeneratedTestClassBase.Checkpoint Method

When overridden in a derived class, indicates to the test harness that a step in a test case captured a requirement.

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

Usage

'Usage

Syntax

'Declaration
public abstract void Checkpoint (
    string description
)

Parameters

  • description
    The message associated with the requirement capture.

Remarks

Each generated test case calls the Checkpoint method of the test manager to indicate that the test case performed a step that captures a requirement in the system under test. The test manager then calls the Checkpoint method of the test class. The test manager for the test is initialized in the InitializeTestManager method.

Notes to Inheritors: Add code to support requirements of your testing or reporting environment.

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

See Also

Reference

GeneratedTestClassBase Class
GeneratedTestClassBase Members
Microsoft.SpecExplorer.Runtime.Testing Namespace
GeneratedTestClassBase.InitializeTestManager
DefaultTestManager.Checkpoint Method