Comment #10 on issue 1500 by zimmermann.c...@gmail.com: **kwargs support
for Dynamic Test Libraries
http://code.google.com/p/robotframework/issues/detail?id=1500
Finished! :D
The use of PythonArgumentParser mentioned in the last comment introduced an
incompatibility with Dynamic Java Test Libraries, so I created a generic
DynamicMethodArgumentParser for getting the argspec of Dynamic API methods,
either Python or Java based:
https://bitbucket.org/userzimmermann/robotframework/commits/431162f86164198ad16846336b83310813a4cca5
I built the Java tests on the RunKeywordLibraryJava and
ArgDocDynamicJavaLibrary classes by deriving classes with
a "WithKwargsSupport" suffix. For the third runKeyword parameter I used the
org.python.core.PyDictionary class. This needed a little fix in
JavaArgumentParser:
https://bitbucket.org/userzimmermann/robotframework/commits/7d96a121e6e7cfcedd7640e6168a85ef5521abf2
All dynamic **kwargs tests are working fine with Python 2.5-2.7 and Jython
2.5, and, if you are interested, even with Python 3 in my python3 branch:
https://bitbucket.org/userzimmermann/robotframework/commits/branch/python3
I made the following additions to the documentation:
https://bitbucket.org/userzimmermann/robotframework/commits/6edae790b59aecd5021f323c917ed58a3659e05c
The final complete fork diff can be seen at this URL:
https://bitbucket.org/userzimmermann/robotframework/compare/default..2044532#diff
You can simply add my changes (without the other branches) by pulling with
-B master from my repo and reverting the README.txt on merging.
The changes also contain the fixes from issue 1531. Should I revert them?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.