Skip to content

Latest commit

 

History

History
62 lines (39 loc) · 1.27 KB

File metadata and controls

62 lines (39 loc) · 1.27 KB

Contributing / Extension development

Locally Develop this Extension

  1. Clone repo

    git clone https://github.com/PoffM/ui-test-visualizer.git
    cd ui-test-visualizer
  2. Install dependencies

    pnpm install
  3. Start the development server

    pnpm dev

    Starts the tsup and Vite dev servers.

  4. Launch the extension in VSCode

    Go to the Run panel (Ctrl+Shift+D) and choose one of the example projects to run.

Running Tests

Unit+Integration Tests

The integration tests in compat.test.ts are run against the built extension, so you'll need to build the extension first.

pnpm build # Only needed for compat.test.ts
pnpm test

E2E Tests (Playwright)

pnpm test:e2e

Publishing and Changelogs

This repo uses Changesets to manage versioning + changelogs + publishing.

To add a changeset (to update the CHANGELOG.md), run the following:

pnpm changeset

Follow the prompts to describe the changeset.

Changesets' GitHub Action will automatically create a pull request with the changeset, update CHANGELOG.md, and publish the new version to VSCode Marketplace when the pull request is merged.