vitest-dev / vscode

VS Code extension for Vitest
https://vitest.dev/vscode
MIT License
755 stars 85 forks source link

Add tests #249

Open sheremet-va opened 8 months ago

sheremet-va commented 8 months ago

Currently, we only have unit tests for some of the functionality, but it would be nice to also have integration tests using Electron API to catch regressions: https://code.visualstudio.com/api/working-with-extensions/testing-extension

MilanKovacic commented 8 months ago

I can take this one.

ffMathy commented 8 months ago

Sorry, didn't see this issue. I already have a PR that works for this. See the referenced PR.

MilanKovacic commented 8 months ago

No problem, I will add a smoke end-to-end test instead.

sheremet-va commented 8 months ago

No problem, I will add a smoke end-to-end test instead.

Yeah, this issue is about integration/e2e tests for the extension to catch regressions earlier.

sheremet-va commented 7 months ago

I added a "needs test" label. Anyone who wants to help, can look through all issues with that label and write a test 😄