A pytest plugin that limits the output to just the things you need.
Project description
A pytest plugin that limits the output of pytest to just the things you need to see.
One of my biggest personally complaints about pytest is that its console output is very, very chatty. It tells you it’s starting. It tells you it’s working. It tells you it’s done. And if a test fails, it doesn’t just tell you which test failed. It dumps pages and pages of code onto your console.
And it does all this in full technicolor glory. Better hope you have perfect color vision, and your console color choices are contrast compatible.
Yes, pytest has many, many command line options. And some of these behaviors can be configured or turned off with feature flags. But there are some people (presumably, at the very least, the pytest core team) who like pytest’s output format. So if you’re the odd-one-out on a team who doesn’t like pytest’s output, you can’t commit “better” options into a default configuration - you have to manually specify your options every time you run the test suite.
Luckily, pytest also has a plugin system, so we can fix this.
pytest-tldr is plugin that gives you minimalist output, in monochrome, while still giving an indication of test suite progress.
Installation
You can install “pytest-tldr” via pip from PyPI:
$ pip install pytest-tldr
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
Hashes for pytest_tldr-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea375453487ed5539c27137a4923a94df1535ac56fe9283ea8a78480fd83d5d7 |
|
MD5 | 509f2821f9c245e6c9871b2a0f7fee3b |
|
BLAKE2b-256 | 427a5c6dd2a116a9f8015a96549eb0e02ffeeb2badaabbc4c462247f631b92d7 |