VsTestClassBase Members

Provides a base class for test classes generated by Spec Explorer. Test classes generated from this class support the Visual Studio testing tools for unit tests.

The following tables list the members exposed by the VsTestClassBase type.

Public Constructors

  Name Description
  VsTestClassBase Initializes a new instance of the VsTestClassBase class.

Top

Public Properties

  Name Description
public property LogToFile  Gets or sets a value that indicates whether to write messages to a log file. (Inherited from GeneratedTestClassBase)
public property Manager  Gets or sets the test manager. This method supports the generated test cases and is not intended to be used directly from your code. (Inherited from GeneratedTestClassBase)
public property ProceedControlTimeout  Gets or sets the time-out period during which the test engine waits for observations before proceeding with a control action. This method supports the generated test cases and is not intended to be used directly from your code. (Inherited from GeneratedTestClassBase)
public property QuiescenceTimeout  Gets or sets the time-out period after which the implementation is assumed to be unresponsive. This method supports the generated test cases and is not intended to be used directly from your code. (Inherited from GeneratedTestClassBase)
public property TestProperties  When overridden in a derived class, gets or sets a dictionary of named properties for the generated test class. (Inherited from GeneratedTestClassBase)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Assert Overridden. Supports assertion handling in the generated test cases.
public method Assume Overridden. Supports initialization requirements in the generated test class.
public method BeginTest Overridden. Indicates to the test harness that a test case is starting.
public method Checkpoint Overridden. Indicates to the test harness that a step in a test case captured a requirement.
public method CleanupTestManager  Performs test case cleanup. The test harness calls this method after running a test case. This method supports the generated test cases and is not intended to be used directly from your code. (Inherited from GeneratedTestClassBase)
public method Comment Overridden. Produces a comment to the test harness about test execution in the generated test cases.
public method Dispose Releases the resources used by the current instance of the VsTestClassBase class.
public method EndTest Overridden. Indicates to the test harness that a test case finished.
public method Equals  (Inherited from Object)
public method GetAdapter  When overridden in a derived class, retrieves a singleton instance of an adapter of the given type; throws an exception on failure. This method supports the Spec Explorer infrastructure and is not intended to be used directly from your code. (Inherited from GeneratedTestClassBase)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method InitializeTestManager  Performs test case setup. The test harness calls this method before running a test case. This method supports the generated test cases and is not intended to be used directly from your code. (Inherited from GeneratedTestClassBase)
public method Make  Creates and initializes a structure or compound value. This method supports the generated test cases and is not intended to be used directly from your code. (Inherited from GeneratedTestClassBase)
public method SetSwitch  When overridden in a derived class, sets the value of a Cord switch in the generated test class. This method supports the generated test cases and is not intended to be used directly from your code. (Inherited from GeneratedTestClassBase)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

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