Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CurVsTestNew to Visual Studio Code? Get it now.
CurVsTest

CurVsTest

Arun Dev

|
14 installs
| (0) | Free
Adds PyCharm-style run and debug buttons to VS Code/Cursor for Python files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CurTest: PyCharm-Style Test Runner for VS Code & Cursor

CurTest brings PyCharm-style inline Run/Debug buttons, context menus, and a Python test explorer to VS Code and Cursor. Effortlessly run or debug individual tests with a single click, just like in JetBrains IDEs!


Features

  • Inline Run/Debug Buttons: Instantly run or debug any Python test function with clickable icons above each test.
  • Status Bar Shortcuts: Quick access Run/Debug buttons for the active Python file.
  • Python Files Explorer: Sidebar view to browse and run/debug all Python files in your workspace.
  • Pytest Support: Uses pytest for running and debugging tests, with support for --pdb debugging.

Installation

From the Marketplace

  1. Open VS Code or Cursor.
  2. Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
  3. Search for CurTest and click Install.

From a VSIX File

  1. Download the latest .vsix from the Releases page or your trusted source.
  2. In VS Code/Cursor, open the command palette (Ctrl+Shift+P or Cmd+Shift+P).
  3. Type Install from VSIX and select your downloaded file.

Usage

  • Inline Buttons:
    • Open a Python file with test functions (e.g., def test_example():).
    • Click the ▶️ (Run) or 🐞 (Debug) button above a test to execute it.
  • Status Bar:
    • Use the Run/Debug buttons at the bottom when a Python file is active.
  • Command Palette:
    • Press Ctrl+Shift+P/Cmd+Shift+P and search for "Run Python File" or "Debug Python File".

Requirements

  • Python 3.x
  • pytest installed in your environment

Configuration (Optional)

  • curtest.pythonPath: Path to your Python interpreter (default: python)
  • curtest.runArgs: Arguments to pass to the script when running

Set these in your VS Code/Cursor settings if needed.


License

MIT


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