Exemplo n.º 1
0
        public static void RunTest(string fullTestName)
        {
            var localTestDatabaseConnectionString = BootstrapForTests.GetLocalTestDatabaseConnectionString();
            var testRunner = new tSQLtTestRunner(fullTestName, localTestDatabaseConnectionString);

            testRunner.Run();
        }
Exemplo n.º 2
0
 // ReSharper disable UnusedMember.Global
 // This is used by the templates
 public static List <tSQLtTest> GetTests()
 // ReSharper restore UnusedMember.Global
 {
     try
     {
         var localTestDatabaseConnectionString = BootstrapForTests.GetLocalTestDatabaseConnectionString();
         return(TemplateUtils.GetTests(localTestDatabaseConnectionString));
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
         return(new List <tSQLtTest>());
     }
 }
Exemplo n.º 3
0
 public static void SetupTestFixture()
 {
     BootstrapForTests.BootstrapTestsDatabase();
 }