// 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.Testing.Extensions.Reporting;

internal static class AzureDevOpsCommandLineOptions
{
    public const string AzureDevOpsOptionName = "report-azdo";
    public const string AzureDevOpsAnnotations = "report-azdo-annotations";
    public const string AzureDevOpsDemoteKnownFlaky = "report-azdo-demote-known-flaky";
    public const string AzureDevOpsFlakyHistory = "report-azdo-flaky-history";
    public const string AzureDevOpsGroups = "report-azdo-groups";
    public const string AzureDevOpsQuarantineFile = "report-azdo-quarantine-file";
    public const string AzureDevOpsReportSeverity = "report-azdo-severity";
    public const string AzureDevOpsSlowTestHistory = "report-azdo-slow-test-history";
    public const string AzureDevOpsSlowTestHistoryMinSample = "report-azdo-slow-test-history-min-sample";
    public const string AzureDevOpsSlowTestHistoryMultiplier = "report-azdo-slow-test-history-multiplier";
    public const string AzureDevOpsStackFrameFilter = "report-azdo-stackframe-filter";
    public const string AzureDevOpsSummary = "report-azdo-summary";
    public const string AzureDevOpsUploadArtifactExclude = "report-azdo-upload-artifact-exclude";
    public const string AzureDevOpsUploadArtifactInclude = "report-azdo-upload-artifact-include";
    public const string AzureDevOpsUploadArtifactName = "report-azdo-upload-artifact-name";
    public const string AzureDevOpsUploadArtifacts = "report-azdo-upload-artifacts";
    public const string AzureDevOpsUploadArtifactsModeAll = "all";
    public const string AzureDevOpsUploadArtifactsModeFiles = "files";
    public const string AzureDevOpsUploadArtifactsModeOff = "off";
    public const string AzureDevOpsUploadArtifactsModeTagsOnly = "tags-only";
    public const string PublishAzureDevOpsRunNameOptionName = "publish-azdo-run-name";
    public const string PublishAzureDevOpsTestResultsOptionName = "publish-azdo-test-results";

    public const string OptionOn = "on";
    public const string OptionOff = "off";

    public const int SlowTestHistoryDefaultMinSample = 10;
    public const double SlowTestHistoryDefaultMultiplier = 3.0;
    public const int SlowTestStaticThresholdSeconds = 60;
}
