File: Client\TestRunState.cs
Web Access
Project: src\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.

namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Client;

/// <summary>
/// States of the TestRun
/// </summary>
public enum TestRunState
{
    /// <summary>
    /// Status is not known
    /// </summary>
    None = 0,

    /// <summary>
    /// The run is still being created.  No tests have started yet.
    /// </summary>
    Pending = 1,

    /// <summary>
    /// Tests are running.
    /// </summary>
    InProgress = 2,

    /// <summary>
    /// All tests have completed or been skipped.
    /// </summary>
    Completed = 3,

    /// <summary>
    /// Run is canceled and remaining tests have been aborted
    /// </summary>
    Canceled = 4,

    /// <summary>
    /// Run is aborted
    /// </summary>
    Aborted = 5
}