示例#1
0
        /// <summary>
        /// Executes all the tests in the contained configuration and adds the
        /// results to the specified collector.
        /// </summary>
        /// <param name="collector">Collector object to be used.</param>
        public void Execute(ITestResultCollector collector)
        {
            string enginePath = getEnginePath();

            m_Collector = collector;
            foreach (string module in m_Configuration.TestModules)
            {
                executeTestsIn(Path.Combine(enginePath, module));
            }
        }
示例#2
0
        private void executeTests(ITestRunConfiguration configuration, ITestResultCollector collector)
        {
            TestEngine engine = new TestEngine(configuration);

            engine.Execute(collector);
        }
示例#3
0
 private void executeTestConfiguration(ITestRunConfiguration configuration, ITestResultCollector collector)
 {
     executeTests(configuration, collector);
 }