Skip to content

Test: Support SGR ANSI escape sequences in TestRun.appendOutput API #186245

@connor4312

Description

@connor4312

Refs: #151964

Complexity: 3

Authors: @connor4312 @Tyriar

Create Issue


This month, the output for tests in the Test Results panel is shown in a real terminal instead of a text editor. This means things like terminal colors will now work, where previously their colors were stripped.

  • Use the VS Code selfhost test provider
  • Run some tests. Run the "show test output" action
  • Verify output is correctly shown in the Test Results view with colors.
  • Add a console.log to a test. Verify you can switch between the log message in the Test Results' tree view, and the output via the inline ation
  • Verify the tree view actions in general make sense and that scrolling and copying work in the terminal as expected
  • Make a test fail, then do the same thing for the inline "Test: Peek Output" view (this vie wis only visible with one or more failing tests)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions