pytest plugin that uploads test results to pytest-cloudreport for analytics and flaky test detection
Project description
pytest-cloudreport
A pytest plugin that uploads your test results to pytest-cloudreport for analytics, trend tracking, and flaky test detection.
Install
pip install pytest-cloudreport
Quickstart
- Sign up for a free account and create a project: https://pytest-cloudreport-production.up.railway.app/signup
- Copy your API key (shown once when the project is created).
- Export it and run your tests:
export PYTEST_CLOUD_API_KEY=pcr_your_key_here
pytest
Test results appear on your dashboard within seconds. No CI plugin install or
GitHub app required — the plugin posts results from wherever pytest runs.
Configuration
Values can come from environment variables or pytest.ini. Environment takes
precedence.
| Env var | pytest.ini |
Default | What it does |
|---|---|---|---|
PYTEST_CLOUD_API_KEY |
cloudreport_api_key |
— | Project API key. Setting this auto-enables the plugin. |
PYTEST_CLOUD_API_URL |
cloudreport_api_url |
Production backend | Override for self-hosted or preview deployments. |
PYTEST_CLOUD_ENV |
cloudreport_environment |
ci |
Environment label attached to every run. |
CLI flags
--cloudreport— force-enable upload even withoutPYTEST_CLOUD_API_KEYset (surfaces a warning so missing keys aren't silent).--cloudreport-verbose— print upload result or error to stdout.--cloudreport-local— generate a local HTML report instead of uploading. No API key required.--accumulate— with--cloudreport-local, append this run to~/.pytest-cloudreport/history.dbso the HTML report shows trends.
Privacy
The plugin sends test names, statuses, durations, assertion messages, and tracebacks. It does not send source code, test fixtures, environment variables, or stdout/stderr captured during the run.
License
Proprietary. See LICENSE for details.
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_cloudreport-0.1.0.tar.gz.
File metadata
- Download URL: pytest_cloudreport-0.1.0.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
225991ae14ea0fe04bf1288497f4746b0766d52e7f8b6d32673b59f34bf9698f
|
|
| MD5 |
f97d5028d0208c7f2e035eae1811f6e5
|
|
| BLAKE2b-256 |
68ff1297d7a2d8f625228a8faa99f6e6c595c0bd18b9e843032e7b3b80358780
|
File details
Details for the file pytest_cloudreport-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pytest_cloudreport-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8823156dc09dcdbdeb38a3edd39c1af1c1da70aa3107111e992dceee3c118a4a
|
|
| MD5 |
d1cfba409a3e9b320bc0a7c6ce99d131
|
|
| BLAKE2b-256 |
befbe494187da2d3e519ec8b782b68776b7e794124cf8b7d1145367f37b3313b
|