Generator Tests

Finally, with help of Ronny I have an idea[1] about porting. The idea is to intercept the generators and run them as individual test items. For it one hook 'pyfunc_call need to be added. In this test we iterate through the test items if it is a generator test. Also, a function item needs to be returned if the isinspect.generatorfunction(). First need to understand the behavior of generator tests and then how it can be intercepted.

[1] http://moinmo.in/MoinMoinChat/Logs/moin-dev/2011-05-27

MoinMoin: pkumar_diary/2011-05-27 (last edited 2011-06-01 08:15:38 by PrashantKumar)