Skip to main content

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 the esp-emu binary (default: esp-emu from PATH)
  • --espemu-cli-args / --espemu-extra-args: forwarded to the esp-emu command line, e.g. --espemu-extra-args "--net user,restrict=yes"

Metadata

Release files for pytest-embedded-espemu 2.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-embedded-espemu 2.9.0
File Size Uploaded
pytest_embedded_espemu-2.9.0.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-embedded-espemu 2.9.0
File Interpreter ABI Platform
pytest_embedded_espemu-2.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / pytest_embedded_espemu-2.9.0.tar.gz

Download URL pytest_embedded_espemu-2.9.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
58d79df618d1d2405fed386111b2d844a16f70af49cc2fbbe4a39439a6d704c2
BLAKE2b-256 checksum
How to use checksums
7d70eb6d82d16816bfea7490f222e0cead423e874110a75ce54bac237da299ab
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.0-py3-none-any.whl

Download URL pytest_embedded_espemu-2.9.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1c17ac493ef98b6bc5993dc80a1873d5cbad614a95d12315cef976590676776
BLAKE2b-256 checksum
How to use checksums
45081018132426a6eebf8770968fee3383d7051640be895d0000da8437f18667
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release history Release notifications | RSS feed

2.9.3

2 release files

2.9.2

2 release files

2.9.1

2 release files

This release

2.9.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page