testing

Production Testing for Electronics: How to Plan Fixtures and End-of-Line Tests

4 December 2026 · 5 min read · Embedded Consultants Engineering Team

Production testing is the set of automated checks run on every manufactured unit, from assembly defects to full function, so that faulty units are caught at the factory and each shipped unit has a test record.

A production test strategy answers one question: how will the factory know each unit is good before it ships? The usual answer is a combination of optical inspection, an electrical test of the assembled board (flying probe, in-circuit or boundary scan) and a functional test with a dedicated fixture, test firmware and logged limits. All of it depends on decisions made in the schematic and layout, which is why test planning cannot wait for the production line.

This is how we plan production test for electronics products.

What does each test stage catch?

Different defects need different tests. A typical flow:

  • Automated optical inspection (AOI): missing, shifted or wrong-polarity parts and visible solder defects, run by the contract manufacturer after reflow
  • X-ray inspection: hidden joints under BGAs, QFN thermal pads and bottom-terminated parts, often on a sample basis
  • Electrical test of the bare assembly: shorts, opens, wrong component values and orientation, using flying probe, in-circuit test or boundary scan
  • Programming: bootloader, application, configuration, keys and serial numbers
  • Functional test: the powered product doing its job against defined limits
  • System or end-of-line test: the finished product in its enclosure, including user interfaces and final checks before packing

You do not need every stage on every product. You do need to know which defects each stage is responsible for, so nothing falls between them.

Flying probe, in-circuit or boundary scan?

Flying probe uses moving probes and needs no dedicated fixture. It suits prototypes, low volumes and designs that still change. Test time per board is longer.

In-circuit test (ICT) uses a bed-of-nails fixture that contacts many nets at once. It is fast per board and gives good fault coverage, but the fixture has a real cost and needs updating when the layout changes. It suits stable designs at higher volumes.

Boundary scan (JTAG) uses the test logic in compatible ICs to check connections between them without physical probes on every net. It is valuable for dense boards with BGAs, where physical access is limited.

Many products combine these: boundary scan for the digital core, a few physical test points for power and analog, and a functional test on top.

How do you design a functional test?

A functional test checks the product as a working device. Plan it as a small product in its own right:

  • Test specification: each test, the method, the expected value and the limits
  • Fixture: holds the board or unit, contacts test points and connectors, and provides loads, stimuli and measurement
  • Test station software: sequences the tests, talks to instruments and to the device, applies limits and logs results
  • Test firmware or a factory mode: lets the station command the device to toggle outputs, read sensors, report versions and run self-tests

Typical functional checks:

  • Current at power-up and in defined states
  • Every power rail voltage
  • Clock and RTC operation
  • Digital I/O and communication interfaces in loopback or against the fixture
  • Analog inputs against reference sources, and calibration where needed
  • Radio power and frequency checks, or at least a link test
  • LEDs, displays, buttons and buzzers, often with simple sensors in the fixture
  • Writing and verifying serial numbers, MAC addresses and keys

Design for test: what has to be on the board

Test access is cheap during layout and expensive afterwards. Check that the design has:

  • Test points on every power rail, key signals and anything the functional test must measure
  • Test pads sized and spaced to suit the fixture builder’s probe rules, ideally all on one side of the board
  • Clearance around test points from tall parts and board edges
  • Tooling holes for fixture alignment
  • A programming interface reachable by the fixture, in a production-friendly form such as pads for pogo pins instead of a hand-plugged header
  • A way to put the device into factory test mode that cannot be triggered by accident in the field
  • Firmware readout of hardware version, so the station can check it is testing the right variant

Agree on the test point rules with the contract manufacturer or fixture builder before layout is finished.

Setting test limits

Limits that are too tight reject good units; limits that are too loose ship bad ones.

  • Start from the design: datasheet tolerances, component tolerances and the requirement each test protects
  • Measure a group of known-good units and compare the spread with your limits
  • Check the measurement system itself, including repeatability across fixtures and operators
  • Review limits after the first production lots, using the logged data

Every limit should be traceable to a reason. “It was 3.3 V on the bench” is not a reason.

Programming, serialization and calibration

These steps often sit inside the functional test, and they deserve care:

  • Program from a controlled, versioned image, and verify after writing
  • Assign serial numbers from a central source to avoid duplicates
  • Store calibration constants with a checksum and record them in the log
  • Handle security keys and certificates through a defined, auditable process
  • Lock debug interfaces at the end of the flow where the security concept requires it

Logging and traceability

Each tested unit should leave a record: serial number, firmware and test software versions, fixture ID, timestamp, every measured value with limits, and the result. Store it where engineering can query it.

When a unit comes back from the field, this record shows whether it was marginal on the line. When yield drops, the data shows which test, which fixture and which component lot.

Fixture maintenance and validation

A fixture is a production tool and wears out. Plan for:

  • Pogo pin wear and replacement intervals
  • A golden unit and a known-bad unit to verify the fixture at shift start
  • Version control for test software and fixture drawings
  • Spare fixtures or parts if downtime would stop the line

A production test planning checklist

  • Defect types assigned to test stages
  • Test method chosen for each stage, with volume and design stability in mind
  • Test points, programming access and tooling holes in the layout
  • Factory test mode specified in the firmware plan
  • Test specification with limits and reasons
  • Fixture and station software developed and validated on DVT units
  • Logging format and storage agreed
  • Golden-unit checks and maintenance plan in place

How we help

Embedded Consultants plans production test alongside the hardware and firmware, so test points, factory modes and programming flows exist before the factory asks for them. We can review a design for testability, write the test specification, or develop test firmware and station software with your contract manufacturer. For the wider picture, see our guide to EVT, DVT and PVT.

Get your free First Look: a free 30-minute call, then a one-page written assessment of the biggest risks and gaps within one business day. NDA first on request.

Questions and answers

What is the difference between in-circuit test and functional test?

In-circuit test checks the assembled board part by part, finding shorts, opens, wrong values and wrong orientation. Functional test powers the product and checks that it does its job: rails, interfaces, sensors, radios and outputs. Most products need a form of both.

When should production test be designed?

Test strategy belongs in the schematic and layout phase, because it decides where test points and programming access go. The fixture and test software are then developed during DVT and validated before the production validation build.

Is flying probe test enough for low volumes?

For low volumes and frequent design changes, flying probe avoids the cost of a dedicated fixture and finds many assembly defects. It is slower per board, so as volume grows a bed-of-nails fixture often becomes the better choice. A functional test is still needed either way.

What should a production test log contain?

At minimum the serial number, firmware and test software versions, fixture ID, date, each measured value with its limits, and the pass or fail result. This lets you trace any field failure back to its production data.

Have a product to take into production? Send a project brief. We reply within one business day.