Skip to content

Add "no progress" and "no ANSI" environment variables #7647

@aelij

Description

@aelij

Summary

Allow disabling progress and ANSI using environment variables.

Background and Motivation

When Copilot runs tests, displaying progress and ANSI are just a waste of tokens. It's possible to configure Copilot's terminal using chat.tools.terminal.terminalProfile.<os> and define environment variables. For example:

{
  "chat.tools.terminal.terminalProfile.windows": {
    "icon": "copilot",
    "path": "pwsh",
    "env": {
      "MSBUILDTERMINALLOGGER": "off"
    }
  }
}

Proposed Feature

Add TESTINGPLATFORM_NOPROGRESS and TESTINGPLATFORM_NOANSI as defaults (overridable by CLI args).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: MTPBelongs to the Microsoft.Testing.Platform core library

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions