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

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.2
File Size Uploaded
pytest_embedded_espemu-2.9.2.tar.gz 4.7 kB Details

Built distribution (wheel)

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

Release history Release notifications | RSS feed

2.9.3

2 release files

This release

2.9.2 This release

2 release files

2.9.1

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