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
With frameworks like OpenHTF, the serial number and additional parameters can be added as metadata when Test
is specified. For custom test frameworks using the Python client, specify parameters in unit_under_test
when creating the run.
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()
- Name
serial_number
- Type
- str
- Description
Serial Number of the unit under test.
- Name
part_number
- Type
- str
- Description
Part number of the unit under test.
- Name
part_name
- Type
- str (optional)
- Description
Component name of the unit under test. Creates a new component if it doesn't exist.
- 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.
In-app view
You can find infromation about your Unit Under Test in the Unit section of the Run page.
Clicking on the unit will take you to the dedicated Unit page, where you can view details about the component, including the part number, name, and revision.
These features will be explained in more detail in the Traceability section.