Closed
Description
Embedded keywords are great improvement when comes to testcases readability, but can be cumbersome when debugging logs and processing them.
Having following keyword:
*** Test Cases ***
Add One To Two
Add 1 To 2
Add Two To One
Add ${a} To ${b}
*** Variables ***
${a} 1
${b} 2
*** Keywords ***
Add ${n} To ${m}
${o} Evaluate ${n}+${m}
will be processed in both log.html and output.xml as either Add 1 To 2
or Add ${a} To ${b}
while it's actual definition, Add ${n} To ${m}
isn't stored in logs. It would be nice improvement, to allow to store keywords definition in addition to current keyword properties.
Such a change would allow for post processing output.xml for statistical and analytical purposes, which I'm facing in rfhub2
I found few places, which would need to be changed:
- https://github.com/robotframework/robotframework/blob/master/src/robot/running/librarykeywordrunner.py
- https://github.com/robotframework/robotframework/blob/master/src/robot/running/userkeyword.py
but I believe, it's a tip of an iceberg. Any help and advice would be much appriciated.