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 | |
---|---|---|
LogToFile | Gets or sets a value that indicates whether to write messages to a log file. (Inherited from GeneratedTestClassBase) | |
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) | |
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) | |
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) | |
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 | |
---|---|---|
Assert | Overridden. Supports assertion handling in the generated test cases. | |
Assume | Overridden. Supports initialization requirements in the generated test class. | |
BeginTest | Overridden. Indicates to the test harness that a test case is starting. | |
Checkpoint | Overridden. Indicates to the test harness that a step in a test case captured a requirement. | |
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) | |
Comment | Overridden. Produces a comment to the test harness about test execution in the generated test cases. | |
Dispose | Releases the resources used by the current instance of the VsTestClassBase class. | |
EndTest | Overridden. Indicates to the test harness that a test case finished. | |
Equals | (Inherited from Object) | |
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) | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
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) | |
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) | |
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) | |
ToString | (Inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
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