pytest plugin to capture all warnings and put them in one file of your choice
Project description
pytest capture Warnings
This is a pytest plugin to collect and print a summary of all the warnings encountered during test execution and save them in a file.
Installation
pip install pytest-capture-warnings
Usage
pytest --output <output_file> <file_to_test>
or
CAPTURE_WARNINGS_OUTPUT=<output_file> pytest <files_to_test>
Flake8 Format
The output file is formatted on a flake8 format
<filename/path>:<line number>:<character number>:<warning message>
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
Built Distribution
Close
Hashes for pytest_capture_warnings-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2427bc15e8648d3f106a6f9e676bef5627335d4e33d7a04f2b3dc2cd33b1f47d |
|
MD5 | 43e6773945ce76bd3b7f28cfe00c2530 |
|
BLAKE2b-256 | ebbc279b7a8095ac8a17225f2ad81ccf5784c6c421f703c78d90706e983e3792 |
Close
Hashes for pytest_capture_warnings-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ba43d7cda6d0047b5b967ba4af437524a2fed0074e50eec48221f56fb5dd29a |
|
MD5 | 11f3b6a80e4d3f03f5edb460739599ae |
|
BLAKE2b-256 | e4af41e7ed37e1449ed1d5b88258c475fde317b5283cea79d46d55859c5a7760 |