Pause and wait for Enter after each test with --step
Project description
pytest-stepthrough
Pause after each test and wait for Enter — useful for hardware/integration flows where you want to observe output or reset something between tests.
Install (dev)
pip install -e .
Usage
pytest # normal run
pytest --step # pause after each test (no need for -s)
pytest -q --step # works with -q too
Notes
- Works with pytest 6+ (tested on 6.2.5).
- We temporarily suspend output capture around the prompt, so
-sis not required. - The prompt appears after pytest prints PASSED/FAILED/XPASS/XFAIL.
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_stepthrough-0.1.0.tar.gz.
File metadata
- Download URL: pytest_stepthrough-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1ce9e73a9eac15bb5f55766be1677ac61fc9871abf49d656ef8a0984c87d777
|
|
| MD5 |
18874e39a800f46ec53d678eb3f5b1c0
|
|
| BLAKE2b-256 |
9c074507084bec8aeb65476e8e20ef16e3ffd107f59986d5c83f20264c9b629a
|
File details
Details for the file pytest_stepthrough-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pytest_stepthrough-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00e0072d9dbab64c02f7671c51b13a923c0c7e6f123db48c36ea1d68eaa5ece6
|
|
| MD5 |
206f84692597dfe21154960ca126bbe3
|
|
| BLAKE2b-256 |
c99cdf9b350c43b99eda3e7f2a7895671ed3d692846b2066bc0c19bec3383be3
|