Rake test_unit from controller

I was just thinking it might be nice to run rake test_units from a
controller and put the outputs into the browser. I like the original
green or red bar.

I figure someone must have done this but a quick search turned up
nothing.

Any ideas?

Gareth