Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Testcase PasteNew to Visual Studio Code? Get it now.
Testcase Paste

Testcase Paste

m4rcus

|
5 installs
| (0) | Free
Run sample testcases sequentially or in split terminals, and auto-paste into VS Code Debug sessions with full Scanner and FastReader support.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Testcase Paste

A lightweight VS Code Side Bar extension for saving per-file sample testcases, running them in Sequential or Split Terminals mode, and automatically pasting input into VS Code Debug sessions (Scanner, BufferedReader, and FastReader ready).

Features

  • Per-File Testcases & Preferences: Automatically switches testcase tabs as you switch open editors, storing testcases and UI preferences internally by VS Code without creating files in your workspace.
  • Sequential & Split Terminals Modes: Toggle between Sequential (Test 1 -> Test N in one terminal) and Split (concurrent side-by-side split terminals up to testcasePaste.maxSplitColumns, default 4).
  • Debug Paste Support:
    • Auto-paste on Debug (on by default): Automatically pastes the active testcase into the Debug: ... Integrated Terminal when you start debugging via F5, CodeLens Debug, or Debug Restart — without touching normal Run (noDebug).
    • Debug Active: Start debugging the active file directly from the Testcase Paste card with one click.
    • Debug Toolbar Icon & Ctrl+Alt+I: Click the $(clippy) icon on the floating Debug Toolbar (or press Ctrl+Alt+I / Cmd+Alt+I) to paste the active testcase directly into the active Debug terminal.
  • Customizable Terminal Output: Expand Terminal Output to toggle Test Header, Input, Section Labels, Execution Time, Peak Memory (MB), Exit Code, and Clear Before Run.
  • First-Class Java Runner & Custom Commands: Compiles .java files once per run into VS Code's internal storage cache, or configure testcasePaste.customRunCommand (${file}, ${fileDir}, ${fileBasenameNoExt}, ${workspaceFolder}) for other languages.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft