Skip to main content

ESP Test Utils

PyPI GitHub release Python Versions Documentation Status codecov

This project provides some utility methods sharing between different ESP test frameworks.

Installation

Package esp-test-utils is published to PyPI. Please install it via pip.

Quick Start

  • pip install esp-test-utils

  • Create a file test.py

    from esptest.devices.serial_tools import get_all_serial_ports
    
    print('All serial ports on this computer:')
    for p in get_all_serial_ports():
        print(f'  device: {p.device}, location: {p.location}')
    
  • Run the script with python test.py, all connected serial devices will be shown:

    All serial ports on this computer:0
      port: /dev/ttyUSB0, location: 1-11.4.1
    
  • See more examples under examples

Documentation

Full documentation lives under the docs/ directory and covers installation, a quick start, user guides (DUT, data monitor, xUnit reporting, CLI tools), and the auto-generated API reference.

Build the HTML site locally:

pip install -e '.[doc]'
cd docs && make html
# open docs/_build/html/index.html

Contributing

📘 If you are interested in contributing to this project, see the project Contributing Guide.

Metadata

Release files for esp-test-utils 0.6.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for esp-test-utils 0.6.5
File Size Uploaded Provenance Actions
esp_test_utils-0.6.5.tar.gz 371.7 kB Without provenance Details for esp_test_utils-0.6.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for esp-test-utils 0.6.5
File Interpreter ABI Platform Actions
esp_test_utils-0.6.5-py3-none-any.whl Python 3 none any Details for esp_test_utils-0.6.5-py3-none-any.whl

Total release size: 588.5 kB

Release files / esp_test_utils-0.6.5.tar.gz

Download URL esp_test_utils-0.6.5.tar.gz
Size 371.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cdaeb49ee928a9f75dff3cf6c909a65f8fdc6e9b7376d22c43dbec7f682bd52c
BLAKE2b-256 checksum
How to use checksums
bd0cf7e0b295b973108683c604fa53bf70bfda91ae1e108ddd064704073c349f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / esp_test_utils-0.6.5-py3-none-any.whl

Download URL esp_test_utils-0.6.5-py3-none-any.whl
Size 216.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a23fb5fa8564ab37d39dc8f82709be5a61bab7181847a2d835ffd92902663b2
BLAKE2b-256 checksum
How to use checksums
342b594a3d990e88b67bbc77ea429f7cfe633e677d96509e3b309789ed38b674
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for esp-test-utils 0.6.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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