Ask HN: Modern test automation software (Python/Go/TS)?
Posted by rajkumar14 2 days ago
Hi HN,
I’m looking for recommendations for modern test automation software/frameworks that work well with Python/Go/TS. I wasn’t able to find any from my search and I don’t want to spin up my own test automation infrastructure.
My use case is hardware + firmware testing in a lab environment, where I want to avoid being forced into a specific vendor’s hardware ecosystem.
What I’m looking for:
- Python/Go/TS compatibility (SDK, API, or first-class support)
- Ability to see and query historical test runs (dashboards / trend views of logs and metrics)
- Ability to define custom test sequences/workflows with the ability to run steps concurrently (not just a flat list of tests). Examples: conditional steps, retries, setup/teardown phases, multi-device orchestration (PSUs, DMMs, DAQs, and DUTs)
- Hardware-agnostic / no vendor lock-in: I should be able to swap instruments/devices without rewriting everything or being tied to a proprietary vendor (looking at you NI)
- Ideally: also have a slack integration for initiating runs & notifications of run completions
Questions:
1. Is spinning up my own software architecture the only option? And If you’ve built something like this, what stack worked best (e.g., Robot Framework, pytest + plugins, custom orchestrator, Airflow/Prefect/Temporal, etc.)?
2. Are there purpose-built platforms you’d actually recommend that don’t vendor lock?
3. What do you use for run history + reporting?
4. Any “gotchas” with reliability, scaling to many devices, or maintaining driver layers?
I’m happy to assemble the sequence logic myself if needed, but I’d love to avoid reinventing orchestration and run history/reporting from scratch.
Comments
Comment by rajkumar14 1 day ago
Comment by julienbuteau 3 hours ago
You’re right that the open-source hardware test ecosystem is still pretty sparse. Today, OpenHTF and OpenTAP are still the most commonly cited Python-centric frameworks, but both show their age when it comes to orchestration, concurrency, and modern DX.
We recently released TofuPilot Framework (https://github.com/tofupilot/framework) as an open-source (MIT), hardware-agnostic test orchestration framework that’s explicitly designed for hardware testing in lab and production environments.
TofuPilot Framework is a Rust-based test orchestrator that executes Python test steps (with more languages planned based on feedback). It’s meant as a “spiritual successor” to OpenHTF, focused on orchestration, control-flow, and observability rather than locking you into a vendor ecosystem.
What it covers relative to your requirements:
1. Parallel execution & precise control flow: setup/teardown phases, conditional steps, retries, concurrent steps, and multi-device orchestration (PSUs, DMMs, DAQs... basically you come with your Python driver and the framework manages the object lifecycle vs. your test execution).
2. Hardware-agnostic connectors: driver layers are explicitly separated so instruments can be swapped without rewriting orchestration logic
3. Run history & data: local run data management with automatic sync to the TofuPilot dashboard for logs, metrics, trends, and querying historical runs
4. Slack & integrations: we’re about to ship TofuPilot Workflows, a dashboard module that lets you define event-driven flows reacting to test results (Slack/Discord notifications, MES/ERP sync, etc.)
We ship it as desktop apps:
TofuPilot Studio: developer environment for writing and debugging tests (UI editor, step debugging, dry runs, plugin dev)
TofuPilot Station: locked-down production app for lab/production PCs; stations auto-update from a connected test repo via the dashboard
On the business side: we’re an independent team based in Switzerland, coming from robotics and industrial test backgrounds. The framework itself is free and MIT-licensed. Our revenue comes from the hosted dashboard, which is free up to a certain data volume, then ~$50/user or station/month. Most current revenue is from self-hosted enterprise deployments.
Genuinely curious: for teams like yours, is pricing a blocker for adoption? We’d really like to make TofuPilot attractive for smaller teams and are very open to feedback.
Happy to answer any technical questions or go deeper on architecture trade-offs.
Comment by InvisibleUp 1 day ago
From what I understand, the industry generally uses NI TestStand, ATEasy, or some in-house software probably written in VB6 20+ years ago. There’s not a ton of great software options out there for this, unfortunately.
Comment by rajkumar14 1 day ago