PyTest plugin for auto-logging of pytest tests with robocorp-log.
Project description
robocorp-log-pytest
robocorp-log-pytest is a library which provides a pytest plugin which integrates
robocorp-log with pytest so that auto-logging is provided for tests run with pytest.
By default just having it in use without any configuration will generate a ./output/log.html (and by default at most 5 .robolog files, each with 50MB may be created).
It's possible to configure the output directory and html output name as well as the maximum number of files and the max log file size.
Note that if the logs actually start rotating information on previous tests may be lost (so, in the testing case it's recommended that the log files always cover the whole test run, which is why the default limits are set to be 50MB * 5).
Ideally for the testing use-case logs would keep the failures, but this isn't currently implemented for robocorp-log (these would need heuristics when removing old files to strip them instead of just remove them).
API Reference
Explore our API for extensive documentation.
Changelog
A list of releases and corresponding changes can be found in the changelog.
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 robocorp_log_pytest-0.0.5.tar.gz.
File metadata
- Download URL: robocorp_log_pytest-0.0.5.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a44182054649605268bf220b977932e4efaedf035910f8dd454188631488e81
|
|
| MD5 |
6413ea3111c7d799f1ad191196072826
|
|
| BLAKE2b-256 |
665619fea5d1b9b00bb4fb7e372761766445b45748bc81a83b64f1ef1048b855
|
File details
Details for the file robocorp_log_pytest-0.0.5-py3-none-any.whl.
File metadata
- Download URL: robocorp_log_pytest-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55dcd15d98ec905a5c917a029b4c4aca2f3595283ac5ade9dad632b9726c3741
|
|
| MD5 |
52ca589a8d43c50705c4d46f334cd4ed
|
|
| BLAKE2b-256 |
1df93348b3f1899aa95afc4694ce96961ff6bae4df50c379984a9a82bf077a79
|