https://github.com/treussart/pytest-html-object-storage
Pytest report plugin for send HTML report on object storage
https://github.com/treussart/pytest-html-object-storage
minio object-storage obs pytest pytest-html pytest-plugin swift
Last synced: 11 days ago
JSON representation
Pytest report plugin for send HTML report on object storage
- Host: GitHub
- URL: https://github.com/treussart/pytest-html-object-storage
- Owner: treussart
- Created: 2022-01-31T09:50:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-20T10:47:05.000Z (11 months ago)
- Last Synced: 2025-12-04T04:28:57.282Z (3 months ago)
- Topics: minio, object-storage, obs, pytest, pytest-html, pytest-plugin, swift
- Language: Python
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pytest-html-object-storage
Pytest report plugin for send HTML report on object-storage
Allow to send HTML report on object-storage.
## Implementations
* [MinIO](https://min.io/) (tested with Scaleway)
* [Swift](https://docs.openstack.org/python-swiftclient/newton/swiftclient.html) (tested with OVH)
## installation
pip install pytest-html-object-storage
## Configure via env var
### Common
OBJECT_STORAGE_ENDPOINT="localhost:9000"
OBJECT_STORAGE_BUCKET="bucket"
OBJECT_STORAGE_USERNAME="admin"
OBJECT_STORAGE_PASSWORD="password"
OBJECT_STORAGE_REGION_NAME=""
### Common Optional
OBJECT_STORAGE_POLICY="private" // public-read
OBJECT_STORAGE_RETENTION="30" // day unit
### Specific MinIO
#### Optional
OBJECT_STORAGE_SECURE="false"
OBJECT_STORAGE_PROVIDER="default" // scaleway
HTTP_REPORT_URL="" // use case when you want to use a reverse proxy to serve the html report provided by the provider
### Specific Swift
OBJECT_STORAGE_TENANT_ID=""
OBJECT_STORAGE_TENANT_NAME=""
## Add option to send HTML report
### MinIO
pytest --store-minio
### Swift
pytest --store-swift
## Dev
### Change version
edit
pytest_html_object_storage/__init__.py
commit
git commit -m "v0.1.0"
tag
git tag v0.1.0
### Build package
python -m build
twine upload dist/*