Exemplo n.º 1
0
        private static void InternalRunTests(
            IEnumerable <TestCase> tests,
            IRunContext runContext,
            IFrameworkHandle frameworkHandle,
            string explicitlyIncluding)
        {
            var sink = new TestExecutorSinkAdapter(frameworkHandle, tests);

            foreach (var group in tests.GroupBy(t => t.Source))
            {
                using (var appDomain = new AppDomainWrapper(@group.Key))
                {
                    UsingAppDomain.RunTests(@group.Key, appDomain, tests.Select(t => t.FullyQualifiedName).ToArray(), explicitlyIncluding, sink);
                }
            }
        }
Exemplo n.º 2
0
        private static void InternalRunTests(
            IEnumerable<TestCase> tests,
            IRunContext runContext,
            IFrameworkHandle frameworkHandle,
            string explicitlyIncluding)
        {
            var sink = new TestExecutorSinkAdapter(frameworkHandle, tests);

            foreach (var group in tests.GroupBy(t => t.Source))
            {
                using (var appDomain = new AppDomainWrapper(@group.Key))
                {
                    UsingAppDomain.RunTests(@group.Key, appDomain, tests.Select(t => t.FullyQualifiedName).ToArray(), explicitlyIncluding, sink);
                }
            }
        }