$npx skillfedfor your agent

pytest-embedded-serial

Make pytest-embedded plugin work with Serial.

Worth itPyPI TestingReleased Jun 2026157.9K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_embedded_serial-2.8.1-py3-none-any.whl
v2.8.1 · released 2026-06-16 · Python >=3.10 · 2 runtime deps: pytest-embedded, pyserial

Yes. This is a stable, actively maintained plugin for a specific but important use case: testing embedded systems over serial connections. Low install friction, permissive license, no known vulnerabilities, and recent activity make it a reliable choice if you need pytest-based serial device testing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; pyserial must be available for serial port access.
  • Low friction install with a pure-Python wheel.
  • Actively maintained with a recent release; last commit on 2026-08-10 and 59 days since the latest release indicate steady development.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, even in commercial projects.

last release 2026-06-16 (59 days) · last repo commit 2026-08-10 · 151 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 157,907 downloads/mo, #10,742 on PyPI

Verify before relying

pip install pytest-embedded-serial

from pytest_embedded import Dut

def test_serial_device(dut: Dut):
    dut.expect('expected_output')
    dut.expect_exact('exact_match')
  • Whether the serial service is automatically enabled or requires --embedded-services serial flag
  • Specific serial port configuration requirements (baud rate, timeout defaults)
  • Whether pyserial is bundled or must be installed separately for serial functionality
Same gist for agents: .md · .json

What it is and what it does

pytest-embedded-serial is a pytest plugin that extends the pytest-embedded framework specifically for serial port communication with embedded devices. It provides fixtures like `Dut` (Device Under Test) that allow you to send commands to and capture output from devices connected via serial, using pattern matching methods like `expect()` and `expect_exact()` to validate device behavior.

The plugin is designed for testing embedded systems where you need to interact with hardware over serial connections. It depends on pytest-embedded for core functionality and pyserial for low-level serial port access. The plugin supports semantic versioning and is actively maintained, with support for modern Python versions (3.10 through 3.14).

Use it for

  • Test firmware output from microcontroller boards connected via USB serial
  • Validate command-response behavior of embedded devices during CI/CD pipelines
  • Automate serial port interaction testing for IoT device prototypes
  • Capture and assert on device debug logs and diagnostic output over serial
  • Integration testing of embedded applications with real hardware or emulation

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a stable, actively maintained plugin for a specific but important use case: testing embedded systems over serial connections. Low install friction, permissive license, no known vulnerabilities, and recent activity make it a reliable choice if you need pytest-based serial device testing.

Install

pytest-embedded-serial on PyPI

Before you install

Low friction install with a pure-Python wheel. Actively maintained with a recent release; last commit on 2026-08-10 and 59 days since the latest release indicate steady development.

Requires Python 3.10 or later; pyserial must be available for serial port access.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, even in commercial projects.

Quickstart

pip install pytest-embedded-serial

from pytest_embedded import Dut

def test_serial_device(dut: Dut):
    dut.expect('expected_output')
    dut.expect_exact('exact_match')

Verify before relying

  • Whether the serial service is automatically enabled or requires --embedded-services serial flag
  • Specific serial port configuration requirements (baud rate, timeout defaults)
  • Whether pyserial is bundled or must be installed separately for serial functionality

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pytest-embeddedpyserial
MaintenanceActively maintained 59 days since the last release
Last repo commit
First released
Downloads157,907 / month, #10,742 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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_serial-2.8.1-py3-none-any.whl

Tags

Capabilities
pytest serial port testingembedded device testing pytestserial communication testingpytest embedded fixturesdevice serial interaction testingembedded systems test automationpytest serial device validation
Topics
embedded-systemsserial-testinghardware-testing

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 serial port testing”

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

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.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

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.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

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.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

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.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-embedded · pytest-embedded-jtag · pytest-embedded-serial-esp · pytest-embedded-qemu · pytest-embedded-idf · pytest-deadfixtures · esptool · esp-idf-monitor · imgtool · pioarduino