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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

esp_test_utils-0.6.3.tar.gz (320.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

esp_test_utils-0.6.3-py3-none-any.whl (190.2 kB view details)

Uploaded Python 3

File details

Details for the file esp_test_utils-0.6.3.tar.gz.

File metadata

  • Download URL: esp_test_utils-0.6.3.tar.gz
  • Upload date:
  • Size: 320.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for esp_test_utils-0.6.3.tar.gz
Algorithm Hash digest
SHA256 06a9a280b85bf67c3813496b1b800c79a4463d84036d4c06181ba868f6d39479
MD5 1c28d707afed98a879480326e0e4dd0c
BLAKE2b-256 20a5a36d45f87a9e24d5ce53e25e7f5132fb6b1759e1df820c55f2be9beb7200

See more details on using hashes here.

File details

Details for the file esp_test_utils-0.6.3-py3-none-any.whl.

File metadata

  • Download URL: esp_test_utils-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 190.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for esp_test_utils-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b4e736c85d9a12759368c59579fea07dc06d9947b7ee5c2155471b86bafeba36
MD5 df8ed33b61cd0fbad07372f03de3d6cc
BLAKE2b-256 8f6510046dc6cf3e8acc9e1db4903361a3a35a3ffdaac7dc196d358d43b746e1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.3 This release

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 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