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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2049d5fed0afdbd5c3a8847763f1ff17c6a962055ddff9391570ce0802727a94 |
|
MD5 | 2946474b8deea25910431a24c8f5de91 |
|
BLAKE2b-256 | e86ed21ec12ab5a03f388f8d103af5e2ddb2c2b46d32c59885c209595c634ab9 |
Close
Hashes for pytest_capture_warnings-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 707a39f6263c75b6631cda8f9a855a8d100a17c76395f6e0e56b9f45db06c648 |
|
MD5 | 167c697b333af4c2ebe5c0ef6de14831 |
|
BLAKE2b-256 | e78700ae5cea276b60146fbaecfa28ba7ee1730001d13f38b6f09acbc700ee7b |