|
From: David W. <wo...@cs...> - 2008-03-24 19:56:19
|
On 24-Mar-08, at 1:33 PM, Waylan Limberg wrote: > ... > Unrelated to my work on python-markdown I was checking out > [python-nose][] to see what the recent hype was all about. Turns out > its basically a clone of [py.test][] that claims to be "less magic". > Now I had personally never used py.test, so that didn't mean much to > me, although "less magic" sounded good. Anyway, in browsing through > the nose documentation I stumbled upon [Test generators][] (scroll to > bottom of that page) which I don't remember seeing before. It turns > out [py.test has them too][]. Simply put, you can write one test which > runs through a loop and generates (using `yeild`) a separate > (sandboxed) unit test for each cycle of the loop. > ... Looks neat! I've been using nose for a while now, and it's been really nice. I would certainly be in support of a nose-base test suite... |