pytest-embedded-arduino
A pytest-embedded service for testing Arduino sketch builds on embedded targets.
Service Activation
Activate this service by passing arduino to --embedded-services. Typically combined with esp to enable flashing and serial monitoring:
pytest --embedded-services esp,arduino --app-path /path/to/arduino-build
Extra Functionalities
- Sketch Metadata Parsing: Automatically locates the compiled sketch binary, bootloader, and partition table from the Arduino build folder.
- Fast Flashing: Uses differential flashing (
--diff-with) to only write updated flash sectors, significantly speeding up consecutive test runs. - Full Reflash Option: Easily disable fast flashing with
--no-fast-flashwhen the flash state is unknown (such as after OTA tests).
CLI Options
--no-fast-flash: Disable fast differential flashing and write the complete flash image. Default:False.
Quick Example
from pytest_embedded import Dut
def test_arduino_sketch(dut: Dut):
dut.expect('Setup complete')
dut.expect('Sensor read: ')
Metadata
Release files for pytest-embedded-arduino 2.10.2
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_arduino-2.10.2.tar.gz | 6.9 kB | Without provenance | Details for pytest_embedded_arduino-2.10.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_embedded_arduino-2.10.2-py3-none-any.whl | Python 3 | none | any | Details for pytest_embedded_arduino-2.10.2-py3-none-any.whl |
Total release size: 14.1 kB
Release files / pytest_embedded_arduino-2.10.2.tar.gz
| Download URL | pytest_embedded_arduino-2.10.2.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcb8dcb45a3556ff63244f3e7452bf1c2194b004731c7e00a8a0818655b2b044
|
|
BLAKE2b-256 checksum How to use checksums |
88a8192db88498ce2e1f4528ec62bb9751f9836f82e6600a4b51b4daad2f30cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / pytest_embedded_arduino-2.10.2-py3-none-any.whl
| Download URL | pytest_embedded_arduino-2.10.2-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a1de57ad0b46f6d071dd9394de05730081fb4aa07401a6471f261614dda48ff
|
|
BLAKE2b-256 checksum How to use checksums |
38300cf8a8a3eb7f6d09e07f377fd4c90f420c48e68000cc3ba4f1b6a4544d73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Security for pytest-embedded-arduino 2.10.2
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.