"Test Runs Are Here: A Practical Walkthrough of AN & Factory's New Feature"
Test Runs Are Here: A Practical Walkthrough of AN & Factory's New Feature
If you manufacture hardware, you already know the problem: test data lives in spreadsheets, local folders, or worse, inside a single engineer's head. When something fails in the field, tracing it back to the factory floor is an archaeological dig. That changes today.
AN & Factory now records every individual test run — one execution of a test program against one board — with pass/fail verdicts, measurement counts, timestamps, elapsed time, and operator context. Every run is stored, searchable, and exportable from the AN & Factory platform.
This article walks through what a test run is, how the feature works end-to-end, and why structured test data is the foundation of hardware quality at scale.
What Is a Test Run?
A test run is the atomic unit of hardware testing. It represents one execution of a test program against one device under test (DUT). Each test run captures:
- Run ID — a unique identifier (auto-generated or user-supplied)
- Station ID — which test station executed the run
- Device ID — the serial number or MAC address of the board being tested
- Verdict — PASS, FAIL, or ERROR
- Test counts — how many individual checks passed, failed, or were skipped out of the total
- Elapsed time — how long the full test sequence took in seconds
- Error detail — when something goes wrong, the specific failure reason
- Timestamps — when the run was created, tied to UTC
A mid-volume contract manufacturer running a single product line typically executes between 500 and 2,000 test runs per day across its stations (Jabil Engineering Blog). Each run can contain anywhere from 10 to 50 individual measurement checks depending on the product's complexity. That means a single factory line can generate 25,000 to 100,000 data points per day just from functional testing.
Before AN & Factory, most of that data either evaporated or lived in formats that made cross-run analysis nearly impossible.
A Realistic Example: Testing a Bluetooth IoT Sensor Board
To make this concrete, let's walk through what a test run looks like for a real product: a Bluetooth Low Energy (BLE) environmental sensor board. This is the kind of product you might see in a smart building deployment — a small PCB with a temperature sensor, BLE radio, and status LEDs.
A typical functional test program for this board would check four categories:
Power consumption verification. The test fixture supplies 3.3V to the board and measures current draw. The target is 3.3V +/- 5% (so 3.135V to 3.465V is the acceptable window). If the board draws outside this range, it indicates a solder bridge, missing component, or regulator failure. This single check is one measurement within the test run.
BLE signal strength. The test station includes a BLE receiver at a fixed distance. The board's radio is activated and the received signal strength indicator (RSSI) is measured. The acceptable range is -60 dBm to -20 dBm — below -60 dBm suggests an antenna problem, while above -20 dBm at the specified distance could indicate a calibration issue. Industry guidance from the Bluetooth SIG recommends RSSI-based validation during manufacturing to catch antenna and RF chain defects (Bluetooth SIG Developer Resources).
Firmware flash verification. The test program flashes the production firmware image and verifies the hash matches the expected build artifact. AN & Factory links each test run to a specific firmware release, so you can correlate test results with firmware versions across your entire production history.
LED functionality. Each status LED is driven through its test pattern and an optical sensor confirms activation. A simple pass/fail per LED.
When all four check categories complete, the test run manifest is assembled. For this board, the manifest might show: total: 12 checks, passed: 11, failed: 1, verdict: FAIL — perhaps the BLE RSSI came in at -63 dBm, just outside the acceptable window. That run is recorded with its full context, and the board is flagged for rework or rejection.
How Test Runs Work in the Platform
Uploading via the API
Test runs are uploaded to AN & Factory through a REST API endpoint on each test station. The station sends a multipart form POST to:
POST /api/v1/stations/{station_id}/runs
The request includes a manifest file (JSON) containing the run metadata — run ID, device ID, verdict, test counts, elapsed time, and optionally individual test results. Stations can also attach a results file with detailed system-level output and an HTML report for human-readable review directly in the portal.
The upload is authenticated with the station's unique upload token and requires the testrun.upload capability. The platform validates the manifest, stores the raw artifacts, and creates the database record linking the run to its station, product, revision, and firmware release.
If the manifest does not include a run ID, the platform auto-generates one using a timestamp-based format (run_YYYYMMDD-HHMMSS), so even test programs that do not assign their own identifiers produce traceable records.
Viewing Results in the Portal
Every station detail page in the AN & Factory portal now shows its test run history. Each run displays the verdict badge (color-coded PASS/FAIL), the test counts, elapsed time, device ID, and timestamp. Runs with attached HTML reports can be viewed inline — click the run to expand it and see the full report without leaving the portal.
The firmware release detail page also aggregates test runs. If you have released firmware version 2.1.0 and 340 boards have been tested against it, you can see the total runs, pass count, and fail count broken down right on the release page. This makes it straightforward to answer the question: "Is this firmware causing more failures than the last version?"
Filtering and Searching
Test runs can be filtered by verdict (show only failures), by station (compare performance across lines), by product, by revision, and by firmware release. The platform's list views support these filters natively, so narrowing down to "all FAIL runs on Station 3 in the last week" is a few clicks, not a SQL query.
Data Storage and Retention
Each test run's raw artifacts — the manifest JSON, system results, and HTML report — are stored on disk alongside the database record. For capacity planning: a typical run with manifest, results, and report weighs in at 15 to 100 KB. At 1,000 runs per day, that is roughly 1.5 to 100 MB per day, or about 550 MB to 36 GB per year per product line. This is well within the range of commodity storage, and the structured database index makes retrieval fast even at high volumes.
Why This Matters: Traceability, Trending, and Compliance
Traceability and ISO 9001
If you are shipping hardware into regulated markets or working with enterprise customers, test traceability is not optional — it is a requirement. ISO 9001:2015 Section 8.5.2 requires organizations to identify outputs by suitable means and to identify the status of outputs with respect to monitoring and measurement requirements throughout production (ISO 9001:2015). In practice, this means you need to be able to answer: "For this specific board with serial number X, what tests were run, what were the results, and when did it happen?"
AN & Factory's test run records provide exactly this. Every run is linked to a device ID, a station, a product revision, and a timestamp. That is a complete traceability chain from the board on a customer's desk back to the test station that validated it.
Defect Trending
Individual test results are useful. Trends across thousands of test results are transformative. When you can see that BLE RSSI failures spiked from 2% to 8% on Tuesday, you know something changed — a new component reel, a fixture alignment issue, an environmental factor. The IPC-9252 standard on electrical test requirements specifically calls out the importance of maintaining test data in formats that support statistical process control and trend analysis (IPC-9252).
With test runs recorded systematically, building these trend views becomes a data query rather than a data collection project.
Supplier and Line Comparison
If you work with multiple contract manufacturers or run multiple production lines, test run data lets you compare quality across them objectively. Station A is running at 97.2% first-pass yield while Station B is at 91.8% — that is an actionable difference, and you would only see it if both stations are reporting structured test data into the same system.
This kind of cross-site visibility is what enterprise Manufacturing Execution Systems (MES) have provided for decades, but typically at $200,000 to $500,000+ in licensing and integration costs for platforms like Siemens Opcenter or Rockwell Plex (Gartner MES Market Guide). AN & Factory brings the core test data management capability to hardware teams that do not need — or cannot justify — a full MES deployment.
How AN & Factory Compares to Industry Tools
The concept of centralized test run management is not new. WATS (by Virinco, formerly Wayne Solutions) is one of the most widely adopted platforms for manufacturing test data analytics, used in aerospace, defense, and automotive (Virinco WATS). WATS provides deep statistical analysis, SPC charting, and integration with National Instruments test frameworks.
AN & Factory takes a different approach. Rather than building for the complexity of a Tier 1 automotive supplier with thousands of test parameters per unit, AN & Factory is purpose-built for IoT and consumer electronics hardware teams — the companies building connected devices, sensor modules, and embedded systems where the test program might have 10 to 50 checks rather than 500. The API-first design means any test framework can upload results, not just NI TestStand or LabVIEW.
The tradeoff is intentional: simpler integration, faster time-to-value, and a workflow that matches how small-to-mid hardware teams actually work. You do not need a dedicated MES integration engineer to get started. If your test script can POST a JSON manifest, you are connected.
Getting Started
If you already have a station registered on AN & Factory, test run uploads are available now. The workflow is:
- Confirm your station has the
testrun.uploadcapability — check the station detail page in the portal or contact your org admin. - Format your test results as a manifest JSON — include at minimum the verdict, total/passed/failed counts, and device ID.
- POST the manifest to your station's run upload endpoint — use your station's upload token for authentication.
- View results in the portal — runs appear on the station page and, if linked to a firmware release, on the release page.
For teams that do not yet have automated test programs, you can create runs with manually assembled manifests. The platform does not prescribe how the data is generated — only that it arrives in the documented format.
What Is Coming Next
Test run storage is the foundation. Here is what we are building on top of it:
- Yield dashboards — real-time first-pass yield and cumulative yield charts per product, per station, per time period.
- Automated alerts — set a yield threshold (e.g., alert if first-pass yield drops below 95% in any rolling 24-hour window) and get notified by email or webhook.
- Trend analytics — drill into specific test checks across runs to identify which measurements are drifting and whether they correlate with component lot changes or station maintenance events.
- Export and integration — bulk export of test run data in CSV and JSON for teams that want to feed results into their own analytics pipelines or BI tools.
- Measurement-level storage — today we store aggregate counts (passed, failed, skipped, total). We are working toward storing individual measurement values (e.g., the actual RSSI reading was -58 dBm) so that distribution analysis becomes possible without parsing raw report files.
Hardware quality is a data problem. The more structured data you capture at the point of test, the better your ability to catch issues early, hold suppliers accountable, and ship reliable products. Test runs in AN & Factory are designed to make that data capture automatic and that data retrieval instant.
Start uploading your test runs today at platform.anandfactory.com.
Sources
- Jabil Engineering Blog — Smart Factory Insights. https://www.jabil.com/insights/blog-main/how-to-build-a-smart-factory.html
- Bluetooth SIG — Developer Specifications and Resources. https://www.bluetooth.com/specifications/specs/
- ISO 9001:2015 — Quality Management Systems Requirements. https://www.iso.org/standard/62085.html
- IPC-9252 — Requirements for Electrical Testing of Unpopulated Printed Boards. https://www.ipc.org/TOC/IPC-9252.pdf
- Gartner — Market Guide for Manufacturing Execution Systems. https://www.gartner.com/en/documents/4007520
- Virinco WATS — Manufacturing Test Data Analytics. https://www.virinco.com/wats