Esempio n. 1
0
        public static void RunTests <T1>()
            where T1 : TestDefinition
        {
            TestArgs testArgs = new ProjectConfigTestArgs(null);

            var tests = DIConfig.GetTestDefinitions <T1>();

            RunTests(tests, testArgs);
        }
Esempio n. 2
0
        public static void RunTestsForeachDBType <T1>()
            where T1 : TestDefinition
        {
            List <ProjectConfigItem> projectConfigs = _projectConfigsFactory.CreateProjectConfigsByDBTyps();

            foreach (var projectConfig in projectConfigs)
            {
                TestArgs testArgs = new ProjectConfigTestArgs(projectConfig);

                var tests = DIConfig.GetTestDefinitions <T1>();

                RunTests(tests, testArgs);
            }
        }