private void ParseTestResults(string file)
        {
            var reader          = new CoverageReader();
            var coverageResults = reader.ReadFile(file);

            CoverageResultsProvider.Instance?.SetResults(coverageResults);
        }
Example #2
0
        /// <summary>
        /// The ParseTestResults.
        /// </summary>
        /// <param name="testOutputFolder">The testOutputFolder<see cref="string"/>.</param>
        private void ParseTestResults(string testOutputFolder)
        {
            var reader = new CoverageReader();

            var file = $"{testOutputFolder}coverage.cobertura.xml";

            var coverageResults = reader.ReadFile(file);

            CoverageResultsProvider.Instance?.SetResults(coverageResults);
        }