Skip to content
PluginStats

Pytest Runner for Visual Studio Code installs statistics

By Ernesto Arbitrio · VS Code Marketplace · Testing

Run test (locally ,venv and in docker container) in your 🐍 python codebase using pytest.

View on VS Code Marketplace Fresh · Oct 19, 2026

Pytest Runner for Visual Studio Code has 132,150 recorded installs on VS Code Marketplace.

It ranks #2014 of 2,501 tracked VS Code Marketplace listings by installs.

It is rated 5.0 out of 5 from 1 ratings.

PluginStats has 4 daily observations since Oct 16, 2026; the latest is from Oct 19, 2026.

Installs
132,150
Official API · Oct 19, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#2014
Among tracked VS Code Marketplace listings

Rating: 5.00 / 5 from 1 ratings

About Pytest Runner for Visual Studio Code

PyTest Runner for VsCode

The Pytest Runner Visual Studio Code extension makes running Python tests effortless using pytest. Whether you're using a local environment or a Docker container, this tool has you covered. It’s designed for developers who need a quick, streamlined way to execute tests directly from their codebase.

NOTE: Pytest Runner is in its early stages 🐣. Contributions are welcome! Found an issue? Open one. Want to enhance it? Submit a PR 😃.

Why Pytest Runner? 🌟

Modern testing environments can be complex. For instance, in my job, most tests run in a Docker-based architecture, requiring remote interpreters and long pytest identifiers like test_mod.py::test_func. This process was tedious and slow, so I created Pytest Runner to eliminate friction and make testing as intuitive as possible.

Inspired by tools like , this extension brings speed and ease to testing Python codebases, no matter the setup.

Look at the usage section for more details.

Features 🔥

• Run single tests or test modules using local or venv pytest command • Run single tests or test modules using pytest through a docker container • Optional configuration inspection via setup.cfg or pyproject.toml files.

Configuration file check

If pytest_runner.check_config is enabled, before the test execution, pytest-runner checks the configuration file of your project, for example for a toml file like this:

or a setup.cfg:

If your test function doesn't start with any of the names above, pytest-runner won't start and it shows you an error ❌ message.

Requirements 📦

• Pytest is the only requirement. • Currently tested on macOS and Linux.

Extension Settings ⚙️

This extension offers several customizable settings:

• pytest_runner.pytest_exec: Specifies the local pytest executable. Defaults to your active virtual environment or /usr/bin/pytest. • pytest_runner.pytest_exec_docker: Command to run pytest in a Docker container (e.g., docker-compose run --rm test-container pytest). • pytest_runner.check_config: Enables/disables configuration checks (default: false). • pytest_runner.pytest_options: Additional pytest options (e.g., -sv, -x).

These options can be set in each settings.json within .vscode in the project root directory or in the settings.json of VSCode (not recommended).

Usage 📖

Available Commands:

• Run Test: Run a single test locally. • Run Test Docker: Run a single test in Docker. • Run Test Module: Run all tests in the current file locally. • Run Test Module Docker: Run all tests in the current file via Docker.

You can run them using the VSCode command palette (⇧⌘P or ctr⇧P)

or through the 2 custom buttons on the status bar.

Running Tests

To run a single test you have 2 options:

1. Simply place your cursor anywhere inside the target test function or class. The extension automatically detects the context and executes the corresponding test without requiring precise cursor placement on the definition line. 2. Select the test name or portion of it and run the desired command.

According to the command the test will be executed in the local environment Run Test or in the docker container Run Test Docker

If you wanna run all the tests in your current python module you can just use Run Test Module or Run Test Module Docker independently of the cursor location.

💡 Pro Tip: Create keyboard shortcuts for frequently used commands to boost productivity.

Keybindings and shortcuts ⌨️

Define custom shortcuts for faster testing:

The 4 commands in the section above are actually an alias for these:

• pytest-runner.run-test • pytest-runner.run-test-docker • pytest-runner.run-module-test • pytest-runner.run-module-test-docker

To increase the speed I would suggest new entries in the keybindigs in order to map the 2 commands to a keyboard key combination:

1. Open keybinding.json -> command palette (⇧⌘P or ctr⇧P) Open Keyboard Shortcut 2. Add your key combination:

Now you can execute single tests with Ctrl+Alt+1 and module tests with Ctrl+Alt+2 (or your chosen keys).

Known Issues 🧐

Only when pytest_runner.pytest_exec is set to pytest without specifying the complete path of the exectuable, the first time the Run Test will fail due to async problem between terminal venv activation and the send command time.

The second run should work properly.

Do you like pytest-runner?

Release Notes 📋

0.0.13

• Bug fix parsing pyproject.toml, "=", [ \t] or [A-Za-z0-9_\-] but "." found

0.0.12

• Bug fix when no setup.cfg is present or no pytest options set in pyptoject.toml

0.0.11

• Change test invocation using the :: notation e.g. test_mod.py::test_func to the more modern -k option, e.g. pytest -k test_func. *Note: the -k option is used only when there's a text selection, otherwise the extension will continue to use the :: notation for test invocation.*

0.0.10

• Show status bar icons (💻 and/or 🐳) only if the file is a test file.

0.0.9

• Error message improvement.

0.0.8

• Improved test detection: the extension now automatically identifies the test function or class context based on the cursor's position anywhere within the function or class body.

0.0.7

• Add support for pytest options in the settings.json.

0.0.6

• Bug fix on terminal auto focus. • Autoclear terminal befor running a test.

0.0.5

• Custom buttons on the status bar.

0.0.4

• 2 new commands for running test modules run-module-test and run-module-test-docker.

0.0.3

• Add check toml or cfg configuration configurable and optional.

0.0.2

• Fix typo in error messages.

0.0.1

• First pytest-runner release.

Description from the VS Code Marketplace listing.

  • docker
  • pytest
  • python
  • testing

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

Pytest Runner for Visual Studio Code installs on VS Code Marketplace, last 90 days: 132,150 installs as of Oct 19, 2026.Pytest Runner for Visual Studio CodeInstalls on VS Code Marketplace · Last 90 days132,150installs132K132.1K132.1K132.1K132.1K132.1K132.2KJul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 19, 2026 · 4 observations · Updated Oct…pluginstats.com
Pytest Runner for Visual Studio Code installs on VS Code Marketplace, last 90 days: 132,150 installs as of Oct 19, 2026.
PNG SVG

7/30/90-day growth

Pytest Runner for Visual Studio Code installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.Pytest Runner for Visual Studio CodeInstalls growth on VS Code Marketplace132,150installs now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 19, 2026pluginstats.com
Pytest Runner for Visual Studio Code installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.
PNG SVG

Ranking history

Pytest Runner for Visual Studio Code VS Code Marketplace ranking history: currently #2014 (by installs).Pytest Runner for Visual Studio CodeVS Code Marketplace ranking · by installs · Last 90 days#2014current rank#2012#2013#2014#2015#2016Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 16, 2026 – Oct 19, 2026 · 4 observations · Updated Oct 19, 2026pluginstats.com
Pytest Runner for Visual Studio Code VS Code Marketplace ranking history: currently #2014 (by installs).
PNG SVG

Ratings over time

Pytest Runner for Visual Studio Code ratings on VS Code Marketplace, last 90 days: 1 ratings as of Oct 19, 2026.Pytest Runner for Visual Studio CodeRatings on VS Code Marketplace · Last 90 days1ratings0.9111.11.1Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 19, 2026 · 4 observations · Updated Oct…pluginstats.com
Pytest Runner for Visual Studio Code ratings on VS Code Marketplace, last 90 days: 1 ratings as of Oct 19, 2026.
PNG SVG

Listing placement

All VS Code Marketplace2,501 listings · 126 pages · 1,252 shown · page 101, #14 (overall #2,014)
All VS Code Marketplace: every listing in installs order
PNG SVG

Listing placement

Testing76 listings · 4 pages · page 4, #6 (overall #66)
Testing: every listing in installs order
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Installs on a log scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (4)
Recent installs observations for Pytest Runner for Visual Studio Code
Date (UTC)InstallsChange vs. previous
132,150+28
132,122+20
132,102+47
132,055—

Similar VS Code Marketplace Testing plugins

All 20 Pytest Runner for Visual Studio Code alternatives

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=pamaron.pytest-runner. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.