bazelbuild/vscode-bazel

Set Up Testing (unit tests and integration tests)

hypdeb opened this issue · 1 comments

I'm looking into contributing to this project, but it seems there is no testing set up.

It seems there's some support for integration tests specifically for VS Code extensions: https://code.visualstudio.com/api/working-with-extensions/testing-extension.

I know almost nothing about NodeJS and such, but I'm guessing the standard approach they use there for unit testing should work too for VS Code extensions: https://nodejs.org/api/test.html ?

Duplicate of #32.

But yeah tests would be good. I don't have any experience of this myself though!