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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3355e19f8b02194afa8268f7bdd4dd43112f6366aedac07e36402769166dafba |
|
MD5 | 41a50c9cbd9bfbd1c95ee176a206b281 |
|
BLAKE2b-256 | fa16f399c085c28f5cdd6704c98e2300823698edd9668b4bc831c749fe53953a |
Close
Hashes for pytest_capture_warnings-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a13e545d53c2b5c0ca3c0e805511b9db0cddc60afe98f8b0bd68cbaa1ee4f7b0 |
|
MD5 | a4455af5ccfba7712c31a3b10f390efe |
|
BLAKE2b-256 | ce5086c57fdf352c046108ba9aa44d8b59ccdd5a8f3408344d48375afdfe5f3b |