EasyTestFixtureContext.RestoreDB(String) Method
In This Article
Restores the specified database from a backup. The database name must be registered with the RegisterDatabases(IEasyTestDatabaseOptions[]) method.
Namespace: DevExpress.EasyTest.Framework
Assembly: DevExpress.EasyTest.v24.2.dll
NuGet Package: DevExpress.EasyTest
#Declaration
#Remarks
Call the RestoreDB method before running an application.
[Fact]
public void Test() {
FixtureContext.RestoreDB(MainDemoDBName);
var appContext = FixtureContext.CreateApplicationContext(BlazorAppName);
appContext.RunApplication();
//
}
See Also