espressif / vscode-esp-idf-extension

Visual Studio Code extension for ESP-IDF projects
https://docs.espressif.com/projects/vscode-esp-idf-extension/en/latest/
Apache License 2.0
1.06k stars 304 forks source link

[Feature Request]: Add button to refresh tests in testing tab (VSC-1515) #1336

Open jdbaptista opened 1 week ago

jdbaptista commented 1 week ago

The testing tab does not automatically recognize newly created unity tests and requires an IDE restart in order to run new tests through the tab, including test name changes. It would be great if the extension could recognize that a new test was created automatically or if the 'Refresh Tests' button in the testing tab searched through the codebase for new tests. I have asked if there is a way to refresh the tab without an editor restart in the espressif forums, with no response, so I am assuming this feature doesn't exist. I think that the best way to implement the feature is to use the existing 'Refresh Tests' button for this purpose, unless that is impossible.

brianignacio5 commented 1 week ago

Thank you for the feature request. The Refresh Tests button should indeed search again for new test cases. Will take a look why is not doing so and fix it as soon as possible.