Skip to content

Guides

Guides, tutorials, and best practices to help you build better hardware tests.

Search Knowledge Base

Search for guides, tutorials, and documentation

All Guides

Build Your First Hardware Test

Build and run a hardware test in Python in 15 minutes using OpenHTF and TofuPilot, with measurements, limits, and automatic data logging.

Getting Started
How to Write a Hardware Test Plan

A hardware test plan defines what to test, when, and how. Learn how to structure a test plan and implement it in Python with TofuPilot.

Getting Started
Add Measurements with Limits

A complete reference for OpenHTF measurement types, validators, and units, with code examples for numeric ranges, exact matches, percentages, and marginal.

Getting Started
How to Build a Test Sequencer with TofuPilot

Learn how to build a test sequencer with OpenHTF using phase ordering, skip logic, PhaseGroups, multi-SKU sequences, and TofuPilot result logging.

Getting Started
Handle Test Failures and Retries

Learn how to control OpenHTF phase failure behavior, implement retry logic, and ensure clean teardown in production tests with TofuPilot.

Getting Started
Use pytest for Hardware Testing

Learn how to use pytest to automate hardware tests and upload results to TofuPilot for centralized tracking and analytics.

Getting Started
Structure a Production Test Script

Learn how to organize an OpenHTF test script for production use, including phase ordering, plug management, configuration, and multi-SKU support with TofuPilot.

Getting Started
How to Add Operator Prompts to Hardware Tests

Operator prompts pause automated tests for manual steps. Learn how to add prompts with text input, choices, and timeouts to OpenHTF tests.

Getting Started

Put these guides into practice