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
- Fetch Tests — runs
pytest --collect-onlyin your project and lists all test IDs. - Select the tests you want and optionally set env vars or extra args.
- Run Selected — executes
pytest <selected ids> -p pytest_web.pluginand streams pass/fail results to the UI in real time via WebSocket. - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_web-0.1.6.tar.gz.
File metadata
- Download URL: pytest_web-0.1.6.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
382c9fd5c96ad8225ccc6485172dfbe835baed907876b27abaef3ab59adc6219
|
|
| MD5 |
4857cfddef733ae74aea7a753f0dcc8f
|
|
| BLAKE2b-256 |
35c43ea7ffee16e70a1d64ff41fd34aa8260e1dd0a67b68b7de6a530fa7da109
|
Provenance
The following attestation bundles were made for pytest_web-0.1.6.tar.gz:
Publisher:
publish.yml on usamaJ17/pytest-web
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytest_web-0.1.6.tar.gz -
Subject digest:
382c9fd5c96ad8225ccc6485172dfbe835baed907876b27abaef3ab59adc6219 - Sigstore transparency entry: 1428878733
- Sigstore integration time:
-
Permalink:
usamaJ17/pytest-web@1ceef9c6db25a1ca5c8b9048176755b625ce55e0 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/usamaJ17
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1ceef9c6db25a1ca5c8b9048176755b625ce55e0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pytest_web-0.1.6-py3-none-any.whl.
File metadata
- Download URL: pytest_web-0.1.6-py3-none-any.whl
- Upload date:
- Size: 27.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35fa1e08fe1cbfc62819724530a57f842a874f5e706fa1ad1dff0662350ea141
|
|
| MD5 |
94a1f219738e7f9b5413e31ffe5c525c
|
|
| BLAKE2b-256 |
38354bc237b40c1c619a27931862d3d70028cedaaa75c9d7a8ff25ba4eb0348a
|
Provenance
The following attestation bundles were made for pytest_web-0.1.6-py3-none-any.whl:
Publisher:
publish.yml on usamaJ17/pytest-web
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytest_web-0.1.6-py3-none-any.whl -
Subject digest:
35fa1e08fe1cbfc62819724530a57f842a874f5e706fa1ad1dff0662350ea141 - Sigstore transparency entry: 1428878744
- Sigstore integration time:
-
Permalink:
usamaJ17/pytest-web@1ceef9c6db25a1ca5c8b9048176755b625ce55e0 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/usamaJ17
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1ceef9c6db25a1ca5c8b9048176755b625ce55e0 -
Trigger Event:
push
-
Statement type: