Exemplo n.º 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));
            }
        }
Exemplo n.º 2
0
        private void executeTests(ITestRunConfiguration configuration, ITestResultCollector collector)
        {
            TestEngine engine = new TestEngine(configuration);

            engine.Execute(collector);
        }
Exemplo n.º 3
0
 private void executeTestConfiguration(ITestRunConfiguration configuration, ITestResultCollector collector)
 {
     executeTests(configuration, collector);
 }