TDCSS helps you write and document solid, maintainable and modular CSS. It’s especially well suited to adopt a test-driven approach to CSS styling – but of course you may just as well use it to build a regular online styleguide.
Not too sure about calling this test-driven though, as the verificiation process is not automated but requires you looking at the generated styleguide.