uart-fixture-kit
Test your serial parser against broken byte streams, with no hardware attached.
- Type
- Open-source toolkit
- Released
- v0.1.0 (pre-release)
- 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
FixturesSynthetic UART byte streams
ScenariosFragmented · malformed · concatenated
Virtual timeDeterministic replay
Your parserTested without serial hardware
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 with a v0.1.0 pre-release. 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.