Skip to content

Pytest plugin to show test execution status instantly on the terminal

License

Notifications You must be signed in to change notification settings

ssrikanta/pytest-progress

Repository files navigation

pytest-progress

pytest-progress is a plugin for py.test that allows to print the test progress like number of tests Passed , Failed, Skipped and also instant test failure messages.

Requirements

You will need the following prerequisites in order to use pytest-progress:

  • Python 3.8, 3.9, 3.10, 3.11 and 3.12
  • pytest

Installation

To install pytest-progress:

$ pip install pytest-progress

Then run your tests with:

$ py.test --show-progress

If you would like more detailed output (one test per line), then you may use the verbose option:

$ py.test --verbose

Examples

To run the pytest with progress:

$ py.test --show-progress test_progress_report.py
$ py.test --showprogress test_progress_report.py

To run tests in verbose mode:

$ py.test --show-progress --verbose test_progress_report.py
$ py.test --showprogress --verbose test_progress_report.py

About

Pytest plugin to show test execution status instantly on the terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages