pytest-embedded
The core plugin for the pytest-embedded framework. Designed for embedded testing across multiple targets and environments.
Key Features
- Core Fixtures: Provides essential fixtures including
dut,app,msg_queue,pexpect_proc, andredirect. - String & Regex Matching: Integrates
pexpectfor powerful output parsing withdut.expect()anddut.expect_exact(). - Multi-DUT Orchestration: Test multi-device topologies (such as master-slave or mesh networks) using
--count. - Flexible Parametrization: Easily parametrize apps, targets, and services using
pytestmarkers. - Unified Test Reports: Parse and merge embedded Unity test results into JUnit XML reports.
Quickstart
from pytest_embedded import Dut
def test_basic_expect(redirect, dut: Dut):
with redirect():
print('Ready to test!')
dut.expect('Ready to test!')
Run the test:
pytest test_basic.py -s
Metadata
Release files for pytest-embedded 2.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest_embedded-2.10.0.tar.gz | 38.7 kB | Without provenance | Details for pytest_embedded-2.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_embedded-2.10.0-py3-none-any.whl | Python 3 | none | any | Details for pytest_embedded-2.10.0-py3-none-any.whl |
Total release size: 74.1 kB
Release files / pytest_embedded-2.10.0.tar.gz
| Download URL | pytest_embedded-2.10.0.tar.gz |
|---|---|
| Size | 38.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b062c6caca60c4c2f0bf07ca9213546416c2e8c29fb2534a07428f590475809
|
|
BLAKE2b-256 checksum How to use checksums |
d29974a275ee75c9a1e0312c783276310a157ed1ed8bf61a85706bc808794026
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / pytest_embedded-2.10.0-py3-none-any.whl
| Download URL | pytest_embedded-2.10.0-py3-none-any.whl |
|---|---|
| Size | 35.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af4e63d627c8ee3fa4144aeab30af55bc2e97d55937cdcff6d45ad9dd1ebc953
|
|
BLAKE2b-256 checksum How to use checksums |
4475a44cd0722ecd4715817180a2203fed92acd9dee6e824d7ddcd69b411e062
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Security for pytest-embedded 2.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.