Exemplo n.º 1
0
        /// <summary>
        /// Runs tests passed in separate thread.
        /// </summary>
        /// <param name="parameters"></param>
        public void Run(TestSuiteParameters parameters)
        {
            _parameters = parameters;
            lock (_pauseSync)
            {
                _stop                 = false;
                _delayedHalt          = false;
                _dispatcherLevelPause = false;
            }

            _state = TestState.Running;

            Thread thread = new Thread(RunTests);

            thread.CurrentUICulture = System.Globalization.CultureInfo.InvariantCulture;
            thread.Start();
        }
Exemplo n.º 2
0
 public void RequestFeatures(TestSuiteParameters parameters)
 {
     parameters.TestCases.Clear();
     parameters.TestCases.Add(FeaturesDefinitionProcess.This);
     Run(parameters);
 }