26 lines
656 B
C#
26 lines
656 B
C#
|
using Microsoft.Data.Tools.Schema.Sql.UnitTesting;
|
|||
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Configuration;
|
|||
|
using System.Data;
|
|||
|
using System.Data.Common;
|
|||
|
|
|||
|
namespace miakd
|
|||
|
{
|
|||
|
[TestClass()]
|
|||
|
public class SqlDatabaseSetup
|
|||
|
{
|
|||
|
|
|||
|
[AssemblyInitialize()]
|
|||
|
public static void InitializeAssembly(TestContext ctx)
|
|||
|
{
|
|||
|
// Setup the test database based on setting in the
|
|||
|
// configuration file
|
|||
|
SqlDatabaseTestClass.TestService.DeployDatabaseProject();
|
|||
|
SqlDatabaseTestClass.TestService.GenerateData();
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|