daluu / plrobotremoteserver

Moved my project here due to Google Code's demise
http://code.google.com/p/plrobotremoteserver
1 stars 1 forks source link

Support CamelCase for test library keyword method names #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
By default, remote library currently supports Pythonic method naming for 
keywords:

method keyword_name for "keyword name" in tests

there is pseudo CamelCase support if "keyword name" is represented in tests as 
"keywordname" without spaces. But we ideally want the remote server to 
translate spaces to support CamelCase as well.

To do this, we would do preprocessing before reflection calls and do a search 
for any methods that match Pythonic naming, and if not try CamelCase (or 
reverse the order of search). May need try/catch block for this to not throw 
exception when searching non-existent method via reflection.

Original issue reported on code.google.com by manga...@gmail.com on 15 May 2012 at 6:00

GoogleCodeExporter commented 9 years ago
Based on findings from issue 12, this should already be natively 
handled/supported by RF in the conversion (based on RF user documentation: 
http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#key
word-names), nothing to do but to test & confirm that can use CamelCase and 
Pythonic underscores to name methods. If not otherwise, then look into 
implementing support.

Original comment by manga...@gmail.com on 1 Aug 2014 at 9:56