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);
            }
        }
Beispiel #2
0
        public void TestFinished(XmlNode resultNode)
        {
            ICollection <XmlNode> outputNodes;
            var testId = resultNode.GetAttribute("id");

            if (_outputNodes.TryGetValue(testId, out outputNodes))
            {
                _outputNodes.Remove(testId);
            }

            var result = _testConverter.GetVSTestResults(resultNode, outputNodes ?? EmptyNodes);

            _recorder.RecordEnd(result.TestCaseResult.TestCase, result.TestCaseResult.Outcome);
            foreach (var vsResult in result.TestResults)
            {
                _recorder.RecordResult(vsResult);
            }
        }