Skip to main content
FixturFab

pytest-f3ts

A pytest plugin for writing PCBA functional tests that run unchanged locally and on the FixturFab Test Runner.

stableHardware functional testing made pythonicPyPIFull docs

Features

Write hardware tests as ordinary pytest functions
Config-driven pass/fail with limits, test IDs, and operator messages (config.yml)
Same test code runs locally (CLI) and on the FixturFab Test Runner
Fixtures for measurement logging, operator dialogs, and serial-number capture
Structured results streamed to the Test Runner GUI and results database
Pairs with f3ts-hardware-utils for instrument control

pytest-f3ts is a pytest plugin for hardware functional testing — most often Printed Circuit Board Assembly (PCBA) testing during manufacturing. You write tests as ordinary pytest functions; the plugin turns assertions into structured pass/fail results with limits, test IDs, and operator messages, driven by a config.yml test plan.

The same test code runs in two places unchanged: locally from the CLI during development, and on the FixturFab Test Runner — the factory-floor GUI that streams live results and stores them for the line. It pairs with f3ts-hardware-utils for instrument control.

When to use pytest-f3ts#

pytest-f3ts fits teams that already use Python for test automation, need functional (not just continuity) testing, and want structured measurement data that scales from the bench to production.

Related Projects

View all open source projects

Use with FixturFab Fixtures

Our open-source testing stack integrates seamlessly with FixturFab fixtures. Configure your fixture in Studio and get a matching pytest-f3ts configuration.