A pytest wrapper using for pytest-relay with pytest-relay-ws to control pytest executions.
Project description
Job messages
All published messages follow this model:
{
"type": "job",
"payload": {
"id": "<job-id>",
"state": "<job-state>",
"returncode": "<int|null>",
"text": "<process-output-as-str|null>"
}
}
Each job transitions through a series of well-defined states, represented by the (JobState)[pytest_relay_run/src/pytest_relay_run/api/model.py]:
| Value | Meaning |
|---|---|
"created" |
The job was instantiated but has not yet started running pytest. |
"collected" |
Test collection was performed (using --collect-only), and no execution ran. |
"in-progress" |
The job’s pytest process is currently executing tests. |
"terminating" |
A termination signal (SIGINT) was sent, graceful shutdown is in progress. |
"done" |
The pytest process has completed (successfully or with errors). |
The following transitions trigger a JobState message:
- created upon job creation (if not
collect_only). - collected as result for jobs with
--collect-only. - in-progress when a job subprocess starts executing.
- done after a job subprocess completes and output is captured.
- terminating when
stop()is called and SIGINT is sent.
The states collected and done are final states, i.e., the job is complete.
Project details
Release history Release notifications | RSS feed
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_relay_run-0.0.1.tar.gz.
File metadata
- Download URL: pytest_relay_run-0.0.1.tar.gz
- Upload date:
- Size: 68.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8425312aae3064703144453ef2dc668d0cb42b86ef6a3a68bb51d335563d982
|
|
| MD5 |
459c50071edc76d42a98e4d4172e5717
|
|
| BLAKE2b-256 |
84e410036ef1153c376cb024d08ad4d4ff1957a05f7b721a73eadc7e6a96a22f
|
File details
Details for the file pytest_relay_run-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pytest_relay_run-0.0.1-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51e5409144fe0531649396900aabeb4d020ec26b93e62aa8926c2da6316f0997
|
|
| MD5 |
92e7c4d91563c57b3b1da12076ac5009
|
|
| BLAKE2b-256 |
ff1f3df8541797daaf1c9e709da4fdc00917ac29e852314a98a7be63330ff2fe
|