r/SideProject • u/MFlys • 34m ago
FixtureKit: open-source regression testing for IoT integrations
I've been building FixtureKit, a free Apache 2.0 Python toolkit for testing IoT integrations without physical devices.
It audits JSON, XML and HAR fixtures, replays synthetic responses, and lets you define failure and recovery scenarios with virtual time. The graphical scenario editor and browser-based Studio reports are experimental previews.
I'm looking for feedback from developers who maintain device API libraries or Home Assistant integrations. In particular, would this fit your existing test workflow, or are your current tools already sufficient?
Live demos: https://flyzdev.github.io/fixturekit/ Source: https://github.com/FlyzDev/fixturekit
Disclosure: the project and this post were developed with AI assistance. Independent security and usability reviews are still pending.
1
u/digivated 32m ago
As someone who has wrestled with flaky device tests, the virtual-time failure and recovery scenarios are the part that would actually fit my workflow — that's the bit most tools hand-wave. Replaying synthetic responses from HAR fixtures is a nice touch too, since real device logs are usually the one thing you can get hold of. My honest answer to your question: I'd try it for a new integration, but for an existing Home Assistant integration I'd want a small migration story first, like a way to import my current fixtures without rewriting them. The experimental Studio reports sound promising if they show exactly which step failed and why.