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.3
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.3.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_embedded_espemu-2.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / pytest_embedded_espemu-2.9.3.tar.gz
| Download URL | pytest_embedded_espemu-2.9.3.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f307bb866870cc10b6eff93935d7548a4f711fd6e18d8d3c2c9bfbc6f8b2f2f9
|
|
BLAKE2b-256 checksum How to use checksums |
12a2cb891f1db2026b8753f9b74741379e7b7be93275aaf001d218655142b691
|
| 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.3-py3-none-any.whl
| Download URL | pytest_embedded_espemu-2.9.3-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e217cae1ffbafabd27e85508bac802b20843013bdfa0253600d2bdfefec12938
|
|
BLAKE2b-256 checksum How to use checksums |
4aaa21efa2db60e3159540580a893c4aeab51c6edcff85936adacc06179ccbc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|