Beispiel #1
0
        public virtual void Execute(Test test)
        {
            _events.SendMessage(new TestRunEvent(test, TestState.Executing));

            _currentTest = test;
            _engine.RunTest(test);
            _currentTest = null;

            _events.SendMessage(new TestRunEvent(test, TestState.NotQueued)
            {
                Completed = true
            });
        }