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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_capture_warnings-0.0.4.tar.gz.
File metadata
- Download URL: pytest_capture_warnings-0.0.4.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2049d5fed0afdbd5c3a8847763f1ff17c6a962055ddff9391570ce0802727a94
|
|
| MD5 |
2946474b8deea25910431a24c8f5de91
|
|
| BLAKE2b-256 |
e86ed21ec12ab5a03f388f8d103af5e2ddb2c2b46d32c59885c209595c634ab9
|
File details
Details for the file pytest_capture_warnings-0.0.4-py3-none-any.whl.
File metadata
- Download URL: pytest_capture_warnings-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
707a39f6263c75b6631cda8f9a855a8d100a17c76395f6e0e56b9f45db06c648
|
|
| MD5 |
167c697b333af4c2ebe5c0ef6de14831
|
|
| BLAKE2b-256 |
e78700ae5cea276b60146fbaecfa28ba7ee1730001d13f38b6f09acbc700ee7b
|