UnitTestFixture Class

Base class for all Inner Drive unit test classes.

Definition

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
C#
public abstract class UnitTestFixture : IDisposable
Inheritance
Object    UnitTestFixture
Implements
IDisposable

Constructors

UnitTestFixture Default text fixture setup implementation.

Properties

ApplicationName Gets or sets the application name to use in the unit test fixture.
AsyncTaskDelayMilliseconds Gets the number of milliseconds to delay a test when async tasks may not have finished between test steps
Configuration Gets or sets configuration information for the unit tests
ElapsedTime Gets the time elapsed since the clock started.
LongRunningTests If true, long running tests will be run
LoopCount Gets the number of iterations to perform when running a test loop.
Version Returns the complete version information of the current assembly.

Methods

Dispose Releases all resources held by this UnitTestFixture object.
Dispose(Boolean) Releases all resources held by this UnitTestFixture object.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Finalizer. Releases resources.
(Overrides ObjectFinalize)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRandom Gets a random number.
GetRandom(Double) Gets a random number.
GetRandom(Double, Int32) Gets a random number.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
SetConfiguration Sets the default configuration file ("AppSettings.json") as the configuration source for testing
SetConfiguration(String) Sets a specific configuration file as the configuration source for testing
SetCulture Sets the CultureInfo of the test fixture.
SetCulture(String) Sets the CultureInfo of the test fixture to a specified location ID.
StartTracing Starts tracing, or continues tracing if it has already started
ToStringReturns a string that represents the current object.
(Inherited from Object)
TraceTestFinish Adds a trace line indicating the end of a unit test
TraceTestStart Adds a trace line indicating the start of a unit test

See Also