CleanCut / green

Green is a clean, colorful, fast python test runner.
MIT License
791 stars 75 forks source link

Test generators a la nose #101

Closed Ogaday closed 8 years ago

Ogaday commented 8 years ago

See here: https://nose.readthedocs.org/en/latest/writing_tests.html#test-generators

When using nose I found test generators incredibly useful for avoiding duplicate code. What would it take to implement that sort of functionality in green? I'd be happy to have a go at implementing it myself if someone could talk me through it.

Ogaday commented 8 years ago

Is this actually solved by the support for nose-paramterized? That looks like the same sort of idea.

CleanCut commented 8 years ago

Yes, that's what the nose-parameterized stuff is. Hopefully that works for you.

Ogaday commented 8 years ago

Ok, I'll have a play with it. This issue can be closed then?

CleanCut commented 8 years ago

Yep.