GTAC 2016: OpenHTF - The Open-Source Hardware Testing Framework

Learn about OpenHTF, an open-source hardware testing framework used by Google to ease hardware testing and improve reusability, turnaround time, and standardization.

Key takeaways
  • OpenHTF is an open-source hardware testing framework designed to ease the process of hardware testing.
  • It was born out of the Glass team at Google and has evolved significantly since its inception.
  • The framework’s main advantages are its reusable code, ease of use, and its ability to adapt to various hardware platforms.
  • It’s written in Python and uses decorators to simplify test authoring.
  • OpenHTF provides a common interface for hardware test engineers at Google, making it easier for them to focus on the parts they care about.
  • The framework’s output is a record that’s in a consistent format, making it easier to manage and analyze test results.
  • Internally, Google has been using OpenHTF extensively, and it has seen significant improvements in terms of reusability and turnaround time.
  • The framework supports various plugins (or “plugs”) that allow users to interface with different types of hardware.
  • It includes a scripting interface that makes it easy to write tests and schedule tests.
  • The framework has a decentralized architecture, allowing users to run tests independently.
  • OpenHTF integrates well with existing frameworks and can be used in conjunction with other tools.
  • It’s pip installable, making it easy to get started.
  • The developers of OpenHTF are open to feedback and are actively working on improving the framework.
  • It’s currently used by developers, engineers, and other stakeholders in the hardware testing process.
  • Its main benefits include improved reusability, faster turnaround time, and a more standardized approach to hardware testing.
  • OpenHTF has been used to test various types of hardware, including phone and head-mounted displays, as well as server and networking gear.
  • The framework’s usability and user experience design are being actively worked on.
  • It’s hoped that OpenHTF will become a valuable tool for hardware testing at Google and beyond.