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.1

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.1
File Size Uploaded
pytest_embedded_espemu-2.9.1.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-embedded-espemu 2.9.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

2.9.3

2 release files

2.9.2

2 release files

This release

2.9.1 This release

2 release files

2.9.0

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