Comment #8 on issue 1208 by [email protected]: allow listeners to
receive suite, test case and keyword objects as arguments
http://code.google.com/p/robotframework/issues/detail?id=1208
Proxies have, in my opinion, following problems:
1) They need to be updated in 2.8. If we pass the real objects, this
listener API itself doesn't need to change at all. Passed objects change
obviously change, but if this possibility is documented clearly users can
take it into account. You could, for example, create needed proxies on your
own listeners.
2) As you pointed out, proxies take some of the power away from the API.
You would be limited to the functionality provided by them. This would
probably also lead to further enhancements to add more functionality to
them in the future.
3) Proxies need to be documented and the documentation updated when there
are changes. Real objects are already documented in the API docs at
http://robot-framework.readthedocs.org/. When the APIs are enhanced in 2.8,
the plan is to enhance the docs too.
If we agree that using real objects is the way to go, getting this
enhancement into 2.7.5 ought to be possible. The best way to help with that
is creating a patch with the required changes or otherwise making the
changes easy to include. I don't know does Google Code make it easy to
merge changes from your fork. (Moving the project to GitHub or elsewhere
where pull requests are used would be a good idea at some point.)