vscode-bazel icon indicating copy to clipboard operation
vscode-bazel copied to clipboard

Add tests

Open smukherj1 opened this issue 6 years ago • 1 comments
trafficstars

We currently have no tests for the extension. VS Code extension testing framework described here https://code.visualstudio.com/docs/extensions/testing-extensions

We will need to add a starter test and include it in the PR verification CI job

smukherj1 avatar Dec 10 '18 16:12 smukherj1

Yes, we definitely need some good coverage for our lower-level APIs here, at least. (I'm not sure what VS Code offers in the area of extension-based testing.)

We'll need to tweak some of our components where we invoke Bazel, Buildifier, etc. so that we can inject fakes that mock the results. We should probably wait on that until I make the changes that replace the XML-based processing with the proto output.

allevato avatar Dec 10 '18 20:12 allevato