Skip to main content

autohilt

The test engine for autoHILT — automated hardware-in-loop testing for embedded systems.

autoHILT turns a drawing of your test station into pytest fixtures: draw the station (MCUs on their board, debugger, relays, power) on the autoHILT canvas, publish it, and this package brings those components to life as fixtures named after your own drawing — my_mcu, cli, dut_power — in plain, unmodified pytest.

python3 -m venv .venv && source .venv/bin/activate
pip install autohilt
autohilt init            # the first-run wizard: repo, login, config, starter test
pytest --ah-dev          # iterate — results are never recorded

Every test computer carries a built-in greeter endpoint, so the whole loop works before any hardware arrives:

def test_hello(greeter):
    assert greeter.ping() == "hello from my-rig v1"

Plain pytest is a production run — recorded against your workspace — so it insists on a tree it can trace (committed, pushed, credentialed) and names every missing precondition instead of quietly downgrading the run.

Commands

command what it does
autohilt init first-run wizard: set up or connect a test repo, sync, write the starter test
autohilt sync resolve the pinned config, cache its parts list, write autohilt.lock
autohilt check full local-state report; every ✗ names its fix
autohilt link hold this machine's connection to the server: scheduled runs arrive down it, health is reported every 10 minutes, and the station reads online while it runs (--install-service to keep it up across reboots)
autohilt scaffold write starting libraries for each board on your canvas
autohilt migrate after a rename on the canvas, rewrite your tests to match

Requires Python 3.9+ and pytest 7 or 8. The full walkthrough — account to recorded run in about ten minutes, no hardware required — is at autohilt.com.

Release files for autohilt 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autohilt 0.3.0
File Size Uploaded
autohilt-0.3.0.tar.gz 89.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autohilt 0.3.0
File Interpreter ABI Platform
autohilt-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 147.7 kB

Release files / autohilt-0.3.0.tar.gz

Download URL autohilt-0.3.0.tar.gz
Size 89.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b04746c510e57d8532dd6587d148e804ec2f2e36661b894e5fcaae7efb34c185
BLAKE2b-256 checksum
How to use checksums
68797fa3abc5adc7191cc2bddbb6bfa48223a1735679d5effe0ee60a03e516af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

Release files / autohilt-0.3.0-py3-none-any.whl

Download URL autohilt-0.3.0-py3-none-any.whl
Size 58.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20925c8f5efe8a961b9b723401e4ef9880cd6bbf0907a6e1b220098b2394d334
BLAKE2b-256 checksum
How to use checksums
01a190feb0186928e35d5a9d544b2b81d6c7560dfda7110f48ff68d87a2d5c5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

Release history Release notifications | RSS feed

0.8.1

1 release file

0.8.0

1 release file

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.0.1

2 release 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