pytest-embedded-qemu
Make pytest-embedded plugin work with QEMU.
Decision gist · record as of 2026-08-14
Yes, if you're testing embedded systems with pytest and want to avoid hardware dependencies. The package is actively maintained, has low install friction, uses a permissive license, and integrates cleanly with pytest-embedded. Install only if you have QEMU available on your system and are already using or planning to adopt pytest-embedded for your test suite.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- QEMU must be installed on the system for the fixture to function.
- Low friction install with active maintenance.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-06-16 (59 days) · last repo commit 2026-08-10 · 151 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 143,293 downloads/mo, #11,181 on PyPI
Alternatives
Verify before relying
pip install pytest-embedded-qemu
import pytest
@pytest.mark.usefixtures('qemu')
def test_on_qemu(qemu):
# Test runs on QEMU instance
pass- Whether pytest-embedded-idf integration is required or optional for most use cases
- How the pexpect_proc duplication affects test output and debugging workflows
- Performance characteristics and typical test execution time overhead versus real hardware
What it is and what it does
pytest-embedded-qemu is a pytest plugin that extends pytest-embedded to run embedded system tests on QEMU emulation instead of physical target hardware. It provides a qemu fixture that manages the emulated environment and duplicates output to pexpect_proc for test assertion. When pytest-embedded-idf is also installed, the plugin can automatically generate bootable QEMU images from built binaries, streamlining the test setup workflow.
The package targets developers testing embedded firmware and bootloader code who want to avoid hardware dependencies during development and CI/CD. It sits between pytest-embedded and qemu.qmp, handling the glue logic to make QEMU behave as a pytest fixture. With active maintenance and support for modern Python versions, it's designed for teams building embedded systems.
Use it for
- Run firmware unit tests in CI/CD pipelines without requiring physical hardware boards
- Develop and test bootloader code locally using QEMU before flashing to real devices
- Automate integration tests for embedded applications with reproducible QEMU environments
- Generate bootable QEMU images automatically from build artifacts when using pytest-embedded-idf
- Debug embedded code interactively by capturing QEMU output in pytest assertions
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you're testing embedded systems with pytest and want to avoid hardware dependencies.
The package is actively maintained, has low install friction, uses a permissive license, and integrates cleanly with pytest-embedded. Install only if you have QEMU available on your system and are already using or planning to adopt pytest-embedded for your test suite.
Install
pytest-embedded-qemu on PyPI
Before you install
Low friction install with active maintenance. Last commit 2026-08-10, released 59 days ago. Supports modern Python versions with only two runtime dependencies.
Requires Python 3.10 or later. QEMU must be installed on the system for the fixture to function.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install pytest-embedded-qemu
import pytest
@pytest.mark.usefixtures('qemu')
def test_on_qemu(qemu):
# Test runs on QEMU instance
pass
Verify before relying
- Whether pytest-embedded-idf integration is required or optional for most use cases
- How the pexpect_proc duplication affects test output and debugging workflows
- Performance characteristics and typical test execution time overhead versus real hardware
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespytest-embeddedqemu.qmp |
| Maintenance | Actively maintained 59 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 143,293 / month, #11,181 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Testing |
Evidence: pytest_embedded_qemu-2.8.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pytest qemu testing”
- pytest-embedded-qemuA pytest plugin that runs embedded system tests on QEMU instead of…
- pytest-embeddedA pytest plugin that provides fixtures and services for testing…
- pytest-cppA pytest plugin that discovers and runs C++ tests from Google Test,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also pytest-embedded · pytest-embedded-idf · pytest-embedded-serial-esp · qemu.qmp · pytest-embedded-jtag · unicorn · pytest-embedded-serial · pytest-rabbitmq · pytest-cpp · pytest-datafiles