VS Code Extensions
Extrig

Extrig

by SRoyLabs

Run browser extension tests inline from VS Code — unit tests with stateful Chrome API mocking, flakiness tracking, and live test results in the sidebar

Downloads

7

Rating

— (0)

Version

0.1.0

Last updated

Jul 07, 2026

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

Related extensions