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