Skip to content

everypinio/hardpy

Repository files navigation

HardPy

HardPy

HardPy is a python library for creating a test bench for devices.


Documentation: https://everypinio.github.io/hardpy/

Source Code: https://github.com/everypinio/hardpy

PyPi: https://pypi.org/project/hardpy/


Overview

HardPy allows you to:

  • Create test benches for devices using pytest;
  • Use a browser to view, start, stop, and interact with tests;
  • Store test results in the CouchDB database.

To Install

pip install hardpy

Getting Started

  1. Create your first test bench.
hardpy init
  1. Launch CouchDB database via docker compose in the background.
cd tests
docker compose up -d
  1. Launch HardPy operator panel.
hardpy run
  1. View operator panel in browser: http://localhost:8000/

hardpy operator panel

  1. View the latest test report: http://localhost:5984/_utils

    Login and password: dev, database - runstore, document - current.

hardpy runstore

Examples

Find more examples of using the HardPy in the examples folder.