Skip to content

HardPy

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


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
    
  2. Launch CouchDB database via docker compose in the background.
    cd tests
    docker compose up -d
    
  3. Launch HardPy operator panel.
    hardpy run
    
  4. View operator panel in browser: http://localhost:8000/

    hardpy operator panel

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

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

hardpy runstore