| File: Client\Interfaces\ITestRunStatistics.cs | Web Access |
| Project: src\vstest\src\Microsoft.TestPlatform.ObjectModel\Microsoft.TestPlatform.ObjectModel.csproj (Microsoft.VisualStudio.TestPlatform.ObjectModel) |
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Client; /// <summary> /// Stats on the test run state /// </summary> public interface ITestRunStatistics { /// <summary> /// The number of tests that have the specified value of TestOutcome /// </summary> /// <param name="testOutcome"></param> /// <returns></returns> long this[TestOutcome testOutcome] { get; } /// <summary> /// TestOutcome - Test count map /// </summary> IDictionary<TestOutcome, long>? Stats { get; } /// <summary> /// Number of tests that have been run. /// </summary> long ExecutedTests { get; } }