Skip to main content

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 -s is not required.
  • The prompt appears after pytest prints PASSED/FAILED/XPASS/XFAIL.

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_stepthrough-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

pytest_stepthrough-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for pytest_stepthrough-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a1ce9e73a9eac15bb5f55766be1677ac61fc9871abf49d656ef8a0984c87d777
MD5 18874e39a800f46ec53d678eb3f5b1c0
BLAKE2b-256 9c074507084bec8aeb65476e8e20ef16e3ffd107f59986d5c83f20264c9b629a

See more details on using hashes here.

File details

Details for the file pytest_stepthrough-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_stepthrough-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00e0072d9dbab64c02f7671c51b13a923c0c7e6f123db48c36ea1d68eaa5ece6
MD5 206f84692597dfe21154960ca126bbe3
BLAKE2b-256 c99cdf9b350c43b99eda3e7f2a7895671ed3d692846b2066bc0c19bec3383be3

See more details on using hashes here.

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