Share via


DefaultTestManager.Comment Method

Generates a comment about test execution. This method supports the generated test cases and is not intended to be used directly from your code.

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

Usage

'Usage

Syntax

'Declaration
public void Comment (
    string description
)

Parameters

  • description
    The comment to produce.

Remarks

A generated test case calls this method to output status messages, such as the test case name and executed step labels.

The site parameter of the DefaultTestManager constructor associates a test site with the test manager. This method calls the Comment method of the associated test site.

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

DefaultTestManager Class
DefaultTestManager Members
Microsoft.SpecExplorer.Runtime.Testing Namespace
IBasicTestSite.Comment