Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>test-runnerNew to Visual Studio Code? Get it now.
test-runner

test-runner

Ole Morten Halvorsen

|
683 installs
| (0) | Free
General purpose Test Runner for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Test Runner

DO NOT USE, NOT READY YET

A general purpose test runner that currently supports PyTest for Python and PHPUnit for PHP.

It can either run all test, the current test file, the function/method closest to the cursor or the previous test.

Configuration

There are four tasks available that you can map to keyboard shortcuts:

  • Test runner: run all tests
  • Test runner: test current file
  • Test runner: test current method
  • Test runner: run previous test

Example keyboard mappings (keybindings.json):

{
    "key": "alt+k",
    "command": "workbench.action.tasks.runTask",
    "args": "Test runner: test current method"
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft