Skip to Content
VS Code ExtensionCommands & Settings

Commands & Settings

All commands are accessible via the Command Palette (Cmd+Shift+P / Ctrl+Shift+P).


Commands

CommandDescription
Glubean: Run All Tests in FileRun every test in the active file
Glubean: Run All Tests in ProjectRun all tests in the workspace folder
Glubean: Re-run Last RequestRepeat the most recent run (single test, file, or project)
Glubean: Rerun Failed TestsRe-run only the tests that failed in the last run
Glubean: Run Pick ExampleRun a specific test.pick example (triggered by CodeLens)
Glubean: Select EnvironmentOpen quick-pick to choose the active .env file
Glubean: DiagnoseCheck runtime, project, and test discovery health
Glubean: Diff with Previous RunSide-by-side diff of the two most recent results
Glubean: Copy as cURLCopy the HTTP request from the open result as a cURL command
Glubean: Open Latest ResultOpen the newest result in the Result Viewer
Glubean: Open Last Result JSONOpen the raw .result.json from the last run
Glubean: Previous ResultNavigate to the older result in history
Glubean: Next ResultNavigate to the newer result in history
Glubean: Clean All ResultsDelete all files in .glubean/results/
Glubean: Initialize ProjectScaffold a new Glubean project
Glubean: SetupCheck Node.js version and CLI installation
View SourceSwitch from Result Viewer to raw JSON editor
View as ResultSwitch from raw JSON editor to Result Viewer
Run TaskRun a single Glubean Task (from Tasks panel)
Run All TasksRun all Glubean Tasks sequentially
Refresh TasksRescan package.json and refresh the Tasks panel
Glubean: Pin TestPin the current test to the Glubean Panel (triggered by CodeLens)
Glubean: Unpin TestRemove a pinned test from the Glubean Panel
Glubean: Run Pinned TestRun a pinned test from the Glubean Panel
Glubean: Pin FilePin the current test file to the Glubean Panel
Glubean: Unpin FileRemove a pinned file from the Glubean Panel
Glubean: Run Pinned FileRun all tests in a pinned file

Keybindings

Shortcut (Mac)Shortcut (Win/Linux)CommandWhen
Cmd+Alt+TCtrl+Alt+TRun All Tests in FileEditor focused, file is .test.ts/.test.js/.test.mjs
Cmd+Shift+RCtrl+Shift+RRe-run Last RequestEditor focused
Cmd+Alt+[Ctrl+Alt+[Previous ResultEditor focused, file is .json
Cmd+Alt+]Ctrl+Alt+]Next ResultEditor focused, file is .json

Configuration

All settings are under the glubean.* namespace in VS Code settings.

SettingTypeDefaultDescription
glubean.autoDiscoverbooleantrueAutomatically discover tests when files are opened or changed
glubean.resultHistoryLimitnumber20Max result files per test (1-100). Older results auto-deleted
glubean.testExplorerLayoutstring"auto"Test Explorer layout: "flat", "tree", or "auto" (flat when ≤15 files)
glubean.taskTimeoutMsnumber300000Task timeout in ms (default 5 min, minimum 10s)
glubean.openResultAfterTaskstring"failures"Auto-open Result Viewer after task: "always", "failures", "never"
glubean.telemetry.enabledbooleanfalseShare anonymous usage data (no code, paths, or personal data)

Context menus

LocationCommandShown when
Editor title bar (run area)Run All Tests in FileFile matches *.test.ts/js/mjs
Editor title bar (run area)View SourceResult Viewer is active
Editor title bar (run area)View as ResultFile is .result.json and not in Result Viewer
File Explorer (right-click file)Run All Tests in FileFile matches *.test.ts/js/mjs
File Explorer (right-click folder)Run All Tests in ProjectFolder is not node_modules, .git, or dist
File Explorer (right-click file)Pin to GlubeanFile matches *.test.ts/js/mjs
Glubean Panel — Pinned Tests (inline)Run Pinned Test / Unpin TestItem is a pinned test
Glubean Panel — Pinned Files (inline)Run Pinned File / Unpin FileItem is a pinned file
Tasks panel (inline)Run TaskItem is a Glubean Task
Tasks panel (title bar)Run All Tasks / Refresh TasksTasks view is visible

Activation events

The extension activates when any of these conditions are met:

  • Workspace contains **/*.test.ts
  • Workspace contains **/*.test.js
  • Workspace contains **/*.test.mjs
  • A TypeScript file is opened
  • A JavaScript file is opened

Custom editors

File patternEditorPriority
*.result.jsonGlubean Result Viewerdefault
Last updated on