pytest-embedded-espemu
pytest-embedded service for running tests on esp-emu, Espressif's lightweight emulator for ESP RISC-V series SoCs, instead of real targets.
Supported targets: esp32c3, esp32c6, esp32h2, esp32p4, esp32s31.
Usage
pytest --embedded-services idf,espemu --target esp32c3
The service builds a merged flash binary from the app's build directory (via esptool merge-bin), launches esp-emu with UART0 on stdio, and drives it like any other DUT — including the Unity test menu machinery from pytest-embedded-idf.
Extra CLI options:
--espemu-image-path: use an existing merged flash binary instead of generating one--espemu-prog-path: path to theesp-emubinary (default:esp-emufromPATH)--espemu-cli-args/--espemu-extra-args: forwarded to theesp-emucommand line, e.g.--espemu-extra-args "--net user,restrict=yes"
Metadata
Release files for pytest-embedded-espemu 2.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_embedded_espemu-2.9.1.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_embedded_espemu-2.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / pytest_embedded_espemu-2.9.1.tar.gz
| Download URL | pytest_embedded_espemu-2.9.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74a96c9979a6b11a077b0718fbf296711791e68b2efc5bc44f86fa73cd8f2d59
|
|
BLAKE2b-256 checksum How to use checksums |
4028f9fbf45155cee9608164eb11e5b29d34142ec0d8e265ca911a976fc9bde0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / pytest_embedded_espemu-2.9.1-py3-none-any.whl
| Download URL | pytest_embedded_espemu-2.9.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa12723fdd2deefc4c05dd583963ca0dc394c15079826e12ec167ea8620b277e
|
|
BLAKE2b-256 checksum How to use checksums |
309956d6bcb21bf11ac3a41c18daee8b9d2f8c7d202e03a538b5bed41d185f42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|