PYPI PACKAGE AUDIT v2.10.2 Gesundes Paket

pytest-embedded

Ein Pytest-Plugin, das für eingebettete Tests entwickelt wurde.

PyPkgScore pytest-embedded
Methodik & Kriterien ♥ Donate
770 / 1000
Schnellinstallation
pip install pytest-embedded
1. Governance
100/200
2. PEP-Metadaten
200/200
3. Sicherheit
150/200
4. Doku & SEO
155/200
5. CI-Engineering
165/200
📣 Prüfung teilen: Teilen Sie diesen Bericht und die Vorschau in der aktuellen Sprache
Advertisement
PYPI-TELEMETRIE

Downloads & Community-Verbreitung

Letzte 30 Tage (ohne Spiegelserver)
Letzte 7 Tage
18408
Letzte 30 Tage
63515
Gesamt (180 Tage)
420027
Metrik / Ökosystem Status / Wert Quelle
Downloads (30d / 180d) — PyPI Stats (without mirrors)
Trusted Publishing (PEP 740) ✕ Not detected PyPI Integrity / Sigstore
Django Packages — djangopackages.org
PyTech / PyPkgScore 770 / 1000 PyPkgScore Engine

Gesundheits- & Engineering-Analyse (5 Säulen)

1. Governance & Community100 / 200 ▾
LICENSE✓ 50 pts
SECURITY.md✕ 0 pts
CONTRIBUTING.md✓ 50 pts
CODE_OF_CONDUCT.md✕ 0 pts
2. PEP-Metadaten & Paketierung200 / 200 ▾
Wheel (.whl)✓ 50 pts
pyproject.toml✓ 50 pts
Project URLs✓ 50 pts
Trove Classifiers✓ 50 pts
3. Sicherheit & Lieferkette150 / 200 ▾
Null CVEs (OSV)✓ 60 pts
Trusted Publishing (OIDC)✕ 0 pts
Snyk / Audit Link✓ 40 pts
HTTPS-Repository✓ 50 pts
4. Dokumentation, SEO & Ökosystem155 / 200 ▾
Strukturierte README✓ 60 pts
Read the Docs✓ 50 pts
Django Packages✕ 0 pts
Webseite / Fachartikel✓ 45 pts
5. Engineering, CI & Qualität165 / 200 ▾
Automatisierte Tests✓ 65 pts
GitHub Actions CI✓ 65 pts
CHANGELOG.md✓ 35 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)✕ 0 pts
Advertisement
README & DOCS

Offizielle Dokumentation & Nutzungsleitfaden — pytest-embedded

PyPI Metadata v2.10.2
Vollständige Originaldokumentation anzeigen (Englisches README) ▾

pytest-embedded

The core plugin for the pytest-embedded framework. Designed for embedded testing across multiple targets and environments.

Key Features
  • Core Fixtures: Provides essential fixtures including dut, app, msg_queue, pexpect_proc, and redirect.
  • String & Regex Matching: Integrates pexpect for powerful output parsing with dut.expect() and dut.expect_exact().
  • Multi-DUT Orchestration: Test multi-device topologies (such as master-slave or mesh networks) using --count.
  • Flexible Parametrization: Easily parametrize apps, targets, and services using pytest markers.
  • Unified Test Reports: Parse and merge embedded Unity test results into JUnit XML reports.
Quickstart
from pytest_embedded import Dut


def test_basic_expect(redirect, dut: Dut):
    with redirect():
        print('Ready to test!')

    dut.expect('Ready to test!')

Run the test:

pytest test_basic.py -s