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.