Skip to main content

pytest plugin for generating prettier terminal output

Reason this release was yanked:

Setup broken

Project description

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.

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-pretty-terminal-1.0.0.tar.gz (9.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page