Random brag: The very first Ruby gem I published, event_stream_parser (for SSE), is 27M+ downloads strong, powering most LLM clients, with ZERO reported bugs so far. I wrote it by interspersing code among spec-as-comments, attaining 100% spec + branch coverage. www.ruby-toolbox.com/projects/eve...
I had followed a similar approach with github.com/Shopify/even..., but interspersing the implementation instead of the tests.
1 repost2 likes