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/
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.
pip install hardpy
- Create your first test bench.
hardpy init
- Launch CouchDB database via docker compose in the background.
cd tests
docker compose up -d
- Launch HardPy operator panel.
hardpy run
- View operator panel in browser: http://localhost:8000/
-
View the latest test report: http://localhost:5984/_utils
Login and password: dev, database - runstore, document - current.
Find more examples of using the HardPy in the examples folder.