microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.4k stars 29.33k forks source link

Testing: Clearing all results should still remember last test #225697

Open Tyriar opened 3 months ago

Tyriar commented 3 months ago

Repro:

  1. Run a failing unit test
  2. Click clear all results image
  3. Press ctrl+;, ctrl+l, 🐛 nothing happens as the last unit test is no longer tracked. I expected this to work despite clearing the results. I was only clearing to remove the 20+ old runs that I no longer wanted cluttering things
connor4312 commented 3 months ago

Clearing all results is designed to reset the state of all tests.

Were the historical runs causing issues aside from the "older runs" item in history view? We're considering just hiding that in the future, depending on telemetry on how many users actually interact with tht.

Tyriar commented 3 months ago

Nope it was just clutter.