Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks done
connor4312 opened this issue Jun 27, 2023 · 0 comments
Closed
2 tasks done

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

connor4312 opened this issue Jun 27, 2023 · 0 comments

Comments

@connor4312
Copy link
Member

connor4312 commented Jun 27, 2023

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)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants