Skip to content
tofupilotPublic

About

The open-source hardware test framework.

Topics

Resources

Stars

23 stars

Watchers

1 watching

Forks

Latest commit

 

History

77 Commits

Folders and files

Repository files navigation

tofupilot framework

An open-source test orchestration framework for hardware manufacturing. Write test logic in Python, define procedures in YAML, and run them locally or on production stations.

Explore the framework · Documentation · Templates · Discord

A laptop running tofupilot connected to a blue circuit board and a bench power supply

Features

  • Phases: Structure tests as Python functions with dependencies, retries, and cleanup.
  • Operator UI: Declare prompts and controls in YAML to guide operators and collect inputs.
  • Parallel execution: Run independent phases and fixture slots simultaneously.
  • Measurements: Record values with units and limits for automatic pass/fail results.
  • Plugs: Connect instruments and share resources through reusable Python classes.
  • Cross-platform: Run on Windows, Linux, and macOS with the tofupilot CLI.
  • Connected results: Run locally without an account, or connect to tofupilot for unit traceability, alerts, and AI investigations.

Get started

  1. Install the tofupilot CLI for your operating system.

  2. Clone the framework starter and run it locally:

    git clone https://github.com/tofupilot/template-framework-starter.git
    cd template-framework-starter
    tofupilot run
  3. Edit procedure.yaml and the Python phases to build your own test.

Local execution does not require an account. To connect your results and deploy to a station, follow the getting-started guide.

Deploy to production

Connect your Git repository, deploy a procedure version to your stations, and give operators a local kiosk or browser interface. Completed runs queue locally when the connection drops and upload when it returns.

A production test station with a circuit board fixture, barcode scanner, and operator display

Explore deployment · Deployment documentation

Templates

Browse the template gallery for hardware test setups, procedures, and code, including PCB functional testing, actuator dyno testing, and IMU thermal calibration.

Documentation

Start with the framework documentation, or jump to a specific topic:

See the full documentation for station management, analytics, integrations, and hosting options.

Source

This repository holds the execution engine that the tofupilot CLI runs: the procedure.yaml schema, phase scheduling, plugs, the Python worker and the operator UI channel. It is a Rust crate:

cargo build

Community

Two tofu characters wearing support headsets, one with a blue pilot cap

Join Discord to ask questions, share test setups, and talk with the team. Report bugs and request features through GitHub issues.

About

The tofupilot framework is maintained by the tofupilot team, based in Lausanne, Switzerland. We build tools for the engineers and operators who test hardware.

License

The framework is available under the MIT license for personal and commercial use. Connected dashboards, deployment management, and AI features are offered under separate plans.

Support the project

Help improve the framework with feedback, bug reports, feature requests, and contributions. Star this repository and share it with other hardware test engineers.

For shared production data, deployment management, and analytics, explore tofupilot plans.

About

The open-source hardware test framework.

Topics

Resources

Stars

23 stars

Watchers

1 watching

Forks

Contributors

Languages