Skip to content

Add vscode-test integration tests for the extension #14

Description

@AshwinUgale

Why

The Python sidecar is well tested, but the TypeScript extension has no automated tests yet. @vscode/test-electron + @vscode/test-cli would let CI exercise activation, the sidecar-lifecycle wiring, and command registration.

What to do

  • Add the vscode-test harness under extension/, plus one activation smoke test (extension activates, the docchat.* commands are registered).
  • Wire a test script and a CI step into the extension job in .github/workflows/ci.yml.

Acceptance criteria

  • npm test runs the vscode-test suite headlessly; the new CI step is green.

Pointers

  • extension/src/extension.ts (activate/deactivate), extension/package.json (contributes.commands).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededtestsTest coveragetypescriptTypeScript extension

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions