uart-fixture-kit
Test your serial parser against broken byte streams, with no hardware attached.
- Type
- Open-source toolkit
- Released
- v0.3.0 (alpha)
- Domain
- Serial parser testing
- Repo
- vanovri/uart-fixture-kit
Problem
Serial parsers break on real-world byte streams: frames arrive fragmented, malformed or concatenated. Testing that usually needs the hardware attached.
Approach
The kit provides reusable fixtures and a virtual-time replay so parser behaviour can be checked deterministically in ordinary test runs. Built with AI assistance.
Build gallery
Results
Published as a public repository (latest release v0.3.0 alpha) with zero runtime dependencies, a 22-check correctness-gated parser profiler (2.12x bulk speedup vs. 0.78x single-byte dispatch overhead), and an 8-scenario offline fault viewer. No adoption figures are claimed.
Lessons
- It grew out of the UART telemetry work on my EMG thesis, where malformed lines had to be handled safely.
- Deterministic, hardware-free tests make serial code reviewable.
v0.3.0
The repository contains automated checks for its included examples. Review the source audit below and the repository CI for the relevant commit and execution scope.
Verified release filesSource audit
Public source reviewed at the linked commit. Tests describe their included fixtures and do not establish field or production performance.
15 November 2026. Reviewed source ff3abde23fdf. Source evidence index.