Skip to main content
All docs
V24.2
.NET 8.0+

EasyTestFixtureContext Members

A test fixture context.

Constructors

Name Description
EasyTestFixtureContext() Initializes a new instance of the EasyTestFixtureContext class.

Methods

Name Description
CloseRunningApplications() Closes all the applications started before. Must be called after test execution.
CreateApplicationContext(String) Creates a context for a new application.
DropDB(String) Deletes the specified database. This method can potentially destroy a lot of valuable data and should be used with caution.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetDatabase(String)
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterApplications(IEasyTestApplicationOptions[]) Registers configurations for tested applications.
RegisterDatabases(IEasyTestDatabaseOptions[]) Registers a set of data sources used for the testing purposes.
RestoreDB(String) Restores the specified database from a backup. The database name must be registered with the RegisterDatabases(IEasyTestDatabaseOptions[]) method.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also