Skip to content

everypinio/hardpy

Repository files navigation

HardPy

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

PyPI version python versions pytest versions Documentation


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.

hardpy panel

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/

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

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

Examples

For more examples of using HardPy, see the examples folder and the documentation.