Skip to main content

Local web UI for running and monitoring pytest suites

Project description

pytest-web

A lightweight local web UI for running pytest suites.

Install

pip install pytest-web

Must be installed in the same Python environment as your project's pytest.

Usage

cd your-project
pytest-web

Opens http://127.0.0.1:8000 in your browser.

CLI flags

Flag Default Description
--port 8000 Port to listen on
--host 127.0.0.1 Bind host (do not change to 0.0.0.0)
--cwd current dir Project root (where pytest.ini lives)
--no-browser Skip auto-opening the browser

How it works

  1. Fetch Tests — runs pytest --collect-only in your project and lists all test IDs.
  2. Select the tests you want and optionally set env vars or extra args.
  3. Run Selected — executes pytest <selected ids> -p pytest_web.plugin and streams pass/fail results to the UI in real time via WebSocket.
  4. Cancel — kills the pytest process and all xdist workers cleanly.

Your pytest.ini, conftest.py, fixtures, and plugins are all used as normal — this tool just wraps the command.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_web-0.1.7.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_web-0.1.7-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file pytest_web-0.1.7.tar.gz.

File metadata

  • Download URL: pytest_web-0.1.7.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pytest_web-0.1.7.tar.gz
Algorithm Hash digest
SHA256 ef5e6c42f9a29a529306e204fa5f521f2601f87f8bacd3f8fa54e3b0423a4e92
MD5 1200545cbc61e55a75b60484c96659aa
BLAKE2b-256 21a63216bb64d0e606d64ef4e7a9972e9e9511f3ce928d44e0de850d71ba7421

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_web-0.1.7.tar.gz:

Publisher: publish.yml on usamaJ17/pytest-web

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytest_web-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: pytest_web-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pytest_web-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fcffc0d689057fb895d24caf5f9b91a7d481526458451006b07c2c361f6c3e7d
MD5 e2b6faa8913d16661b6dc7a0aaf82a67
BLAKE2b-256 b87caed546280b35a73ca87b6367cbf44a570b0c4a480ce3abd01a429ab76852

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_web-0.1.7-py3-none-any.whl:

Publisher: publish.yml on usamaJ17/pytest-web

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page