Comment #3 on issue 827 by [email protected]: Dynamic keywords ignored if getting documentation or arguments fails
http://code.google.com/p/robotframework/issues/detail?id=827

That's a good point for discussion. I'd prefer to get a warning, though how would we log the warning? Log in RF main test execution output (that goes to stdout), or (not sure if easy to implement) log warning to test result of test case command that calls a keyword that exhibits this issue.

I can understand not including keywords if the exception occurs for library reliability and strict functional operation reasons, but at the same time, the spec for dynamic & remote library does say keyword doc & args methods are optional/recommended but not required. Therefore, it kind of leaves up to user interpretation whether a partially (or even fully) working implementation of those methods is allowed to throw an exception (or fail) or not. But it is clear that the mandatory get_keyword_names method should not fail or throw exception, otherwise the library would not work at all.

Reply via email to