Nosetests, Generators and Descriptions

I’ve recently been playing around with the nose testing framework for Python. It’s pretty slick! With the various hooks for plugins, one can make it work pretty much however one wants. And what I especially like is support for generators. However, even with all this power, giving a meaningful name to each generated test is less than straightforward. Here are a few approaches that work.

more ...