public void RunTests(IEnumerable <string> sources, IRunContext runContext, IFrameworkHandle frameworkHandle)
        {
            // this a temporary hack until I can figure out why running the specs per assembly directly using mspec does not work with a large number of specifications
            // when they are run diectly the first 100 or so specs run fine and then an error occurs saying it has taken more than 10 seconds and is being stopped
            // for now we just rediscover and run them like that, makes no sense
            TestCaseCollector collector = new TestCaseCollector();

            this.DiscoverTests(sources, runContext, frameworkHandle, collector);
            this.RunTests(collector.TestCases, runContext, frameworkHandle);
        }
 public void RunTests(IEnumerable<string> sources, IRunContext runContext, IFrameworkHandle frameworkHandle)
 {
     //Debugger.Launch();
     // this a temporary hack until I can figure out why running the specs per assembly directly using mspec does not work with a large number of specifications
     // when they are run diectly the first 100 or so specs run fine and then an error occurs saying it has taken more than 10 seconds and is being stopped
     // for now we just rediscover and run them like that, makes no sense
     TestCaseCollector collector = new TestCaseCollector();
     this.DiscoverTests(sources, runContext, frameworkHandle, collector);
     this.RunTests(collector.TestCases, runContext, frameworkHandle);
 }