Пример #1
0
        public void TestFinished(XmlNode resultNode)
        {
            var result = _testConverter.GetVSTestResults(resultNode);

            _recorder.RecordEnd(result.TestCaseResult.TestCase, result.TestCaseResult.Outcome);
            foreach (var vsResult in result.TestResults)
            {
                _recorder.RecordResult(vsResult);
            }
        }
        public void TestFinished(XmlNode resultNode)
        {
            bool firstResult = true;

            foreach (var vsResult in _testConverter.GetVSTestResults(resultNode))
            {
                if (firstResult)
                {
                    _recorder.RecordEnd(vsResult.TestCase, vsResult.Outcome);
                    firstResult = false;
                }

                _recorder.RecordResult(vsResult);
            }
        }