The BaseUnitTest type exposes the following members.

Constructors

  NameDescription
Protected methodBaseUnitTest
Initializes a new instance of the BaseUnitTest class

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetup
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.
Protected methodTeardown
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodVerify
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

  NameDescription
Public propertyExecutablePath
Gets the path to the target executable.
Public propertyExecutionOrderFactor
Gets the priority of test exection. Higher numbers have higher priority and such tests will be executed before other unit tests.
Public propertyId
Gets the system generated id of the test.
(Inherited from BaseTest.)
Public propertyPackageName
Gets the name of the target package.
Public propertyRepositoryName
Gets the name of the repository where the target package resides.
Public propertyResult
Gets the result of the test.
Public propertyTestDescription
Gets the description of the unit test.
Public propertyTestName
Gets the name of the class which implements the test.
(Inherited from BaseTest.)

See Also