Ability to more effectively run unit tests for extension development #82471
Labels
*as-designed
Described behavior is as designed
extensions-development
Issues for developing extensions
Milestone
The vscode-test package allows you to run integration tests where you launch the tests through vscode and a instance of vscode opens up. But if I want to do normal unit tests against code that has even a single reference to vscode I am not able to do so due to #6586. There are several workarounds:
None of these workarounds are ideal. As @georgejecook pointed out "it seems most people (judging by github repos) simply don’t do a lot of testing". Making it easier to write unit tests would encourage extension authors to do more testing, thereby decreasing bugs and making users and authors happier.
† tests ran from command line can't be run while vscode is opened :(
The text was updated successfully, but these errors were encountered: