Today I decided to take the time to use Shields.io to create badges for the majority of my projects. No testing and badge generation services seem to have first-class support for Lua, so I opted to roll my own badge generator called badges.lua. It’s a small API that lets you pass in information about the current iteration of the project: it’ll update your project’s readme automatically!
badges.lua enables projects to funnel their status straight into the readme, including the version tested and the number of tests that passed. It’s a little bit less elegant than a regular continuous integration platform, but running tests before every commit probably straightforward enough. It’s also integrated into the testing system of a framework I’ve been working on for the past month or so called Carbon, but I’ll post about that later.