Skip to main content

pytest-pretty-terminal

This pytest plugin makes the terminal output prettier and more verbose. Beside a bit formatting you will see the doc string and the parametrization of a test case printed to the terminal. Live logging is enabled by default.

System requirements

Defining the system requirements with exact versions typically is difficult. But there is a tested environment:

  • Linux
  • Python 3.8.12
  • pip 21.2.4
  • pytest 5.2.0

Other versions and even other operating systems might work. Feel free to tell us about your experience.

Versioning

In our versioning we follow Semantic Versioning.

Installing for usage

The Python Package Index takes care for you. Just use pip.

python -m pip install pytest-pretty-terminal

Installing for development

First, you need to get the sources.

git clone git@github.com:devolo/pytest-pretty-terminal.git

Then you need to take care of the requirements.

cd pytest-pretty-terminal
python setup.py install

Usage

To activate the pretty output, you have to start pytest with the pretty option. Otherwise, the plugin is skipped.

pytest --pretty

Compatibility with other pytest plugins

This plugin should not interfere with other plugins. In case of using pytest-xdist, you will lose live logging, as xdist uses stdin/stdout for communicating with its workers.

Release files for pytest-pretty-terminal 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-pretty-terminal 1.1.0
File Size Uploaded
pytest-pretty-terminal-1.1.0.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-pretty-terminal 1.1.0
File Interpreter ABI Platform
pytest_pretty_terminal-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / pytest-pretty-terminal-1.1.0.tar.gz

Download URL pytest-pretty-terminal-1.1.0.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3a284bfaee4dac65524762436bbd875d70ca2dd1384170ef212887f860068f8f
BLAKE2b-256 checksum
How to use checksums
fa0f8a63aaad5104e8813d8f9f701b22950a1ebca50be176845b8eadeca8c85c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

Release files / pytest_pretty_terminal-1.1.0-py3-none-any.whl

Download URL pytest_pretty_terminal-1.1.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe40d237383efe2d023f2b4faea9784da7f81c8b54987261ec5bb11966b98e77
BLAKE2b-256 checksum
How to use checksums
c61edd775f91f695ebe9c70267e2cbd8c5520017618b92e25b3cc4d96de246b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page