The BaseUnitTest type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BaseUnitTest | Initializes a new instance of the BaseUnitTest class |
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Setup |
This method is called during the preparation phase of a test. It is executed
before the target package or executable is executed. Implement this method to prepare the test.
For example, create database objects or set package variables.
|
![]() | Teardown |
This method is called during the cleanup phase of a test. It is executed
after the target package or executable has been executed and after the verification phase. Implement this method to clean up test objects.
For example, drop database tables or delete files.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Verify |
This method is called during the verification phase of a test. It is executed
after the package has been executed. Implement this method to check the test results.
For example, check existance of rows in a table or change of variable value.
|
Properties
Name | Description | |
---|---|---|
![]() | ExecutablePath |
Gets the path to the target executable.
|
![]() | ExecutionOrderFactor |
Gets the priority of test exection. Higher numbers have higher priority and such tests will be executed before other unit tests.
|
![]() | Id |
Gets the system generated id of the test.
(Inherited from BaseTest.) |
![]() | PackageName |
Gets the name of the target package.
|
![]() | RepositoryName |
Gets the name of the repository where the target package resides.
|
![]() | Result |
Gets the result of the test.
|
![]() | TestDescription |
Gets the description of the unit test.
|
![]() | TestName |
Gets the name of the class which implements the test.
(Inherited from BaseTest.) |