Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>ExtrigNew to Visual Studio Code? Get it now.
Extrig

Extrig

SRoyLabs

|
2 installs
| (0) | Free
Run browser extension tests inline from VS Code — unit tests with stateful Chrome API mocking, flakiness tracking, and live test results in the sidebar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Extrig for VS Code

Run browser extension tests inline from VS Code. Unit tests with stateful Chrome API mocking, flakiness tracking, and live test results — all without leaving your editor.

Features

  • ▶ Run CodeLens — Click ▶ Run above any test() or it() to run it
  • Test Explorer sidebar — See results in the Extrig tree view with pass/fail icons
  • Inline diagnostics — Failed tests show as errors in the editor gutter
  • Status bar integration — Live test progress while running
  • Watch mode — Re-run tests on file changes

Getting Started

  1. Install the extrig CLI in your extension project:

    pnpm add -D extrig
    npx extrig init
    
  2. Open any test file and click ▶ Run above a test, or:

    • Ctrl+Shift+P → Extrig: Run All Tests
    • Ctrl+Shift+P → Extrig: Start Watch Mode

Requirements

  • extrig must be installed in your project (pnpm add -D extrig)
  • VS Code 1.85+

Commands

Command Description
Extrig: Run All Tests Run every test in the project
Extrig: Run Tests in File Run tests in the active editor
Extrig: Start Watch Mode Watch for file changes and re-run

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft