Unit under test (UUT)
Track the serial number, part number and revision of the unit under test.
Overview
Tracking hardware tests by serial number is key for traceability and performance monitoring. With TofuPilot, you can specify serial numbers, part numbers, revisions, and batch numbers for each unit. This makes it easy to trace test results, spot quality issues, and analyze performance across batches or revisions.
Integration
If using your own test framework with the Python client, specify parameters in unit_under_test
when creating the run. With frameworks like OpenHTF, the serial number is auto-retrieved, and extra parameters can be added as metadata.
- Name
serial_number
- Type
- str
- Description
Name of the step.
- Name
part_number
- Type
- str
- Description
Part number of the unit under test.
- Name
revision
- Type
- str (optional)
- Description
Revision of the unit under test.
- Name
batch_number
- Type
- str (optional)
- Description
Batch number of the unit under test.
from openhtf import Test
from tofupilot.openhtf import TofuPilot
def main():
phases = [ ] # Your test phases here
test = Test(phases,
part_number = "PCB1"
revision = "A" # optional
batch_number = "12-24" # optional
)
with TofuPilot(test):
test.execute(lambda: 'PCB1A001') # UUT S/N
if __name__ == '__main__':
main()