wallabyjs / public

Repository for Wallaby.js questions and issues
http://wallabyjs.com
760 stars 45 forks source link

VS Code Extension development support #1548

Open TheRealPiotrP opened 6 years ago

TheRealPiotrP commented 6 years ago

Issue description or question

As an owner of a VS Code Extension I would like to be able to use Wallaby to run my integration tests. This means having Wallaby be able to take advantage of the VS Extension Host environment. I suspect the same would be useful for the Wallaby extension itself.

Wallaby.js configuration file

N/A

Code editor or IDE name and version

Visual Studio Code v1.20.1

OS name and version

Any

msorens commented 1 year ago

Any update on if/when VSCode extension projects might be supported?

smcenlly commented 1 year ago

We don't have any immediate plans to support VS Code extension native UI tests at this time. Supporting VS Code requires a custom test runner, and there hasn't been enough demand to justify implementation and on-going maintenance at this point in time.

Having said that, as creators of VS Code extensions ourselves, we end up abstracting our logic (outside of UI integration tests) and use Jest as the test runner for the core logic of our extensions. Where required, we create mocks for VS Code API, etc. You should be able to take a similar approach, which I think is better for unit tests anyway (much faster feedback).