Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1670 by filip.noetzel: Higher order functions break in --dryrun
http://code.google.com/p/robotframework/issues/detail?id=1670

Given this file containing a reduced testcase:

-------------

*** Test Cases ***

A testcase
  First                Third

*** Keywords ***

First  [Arguments]     ${HIGHER_ORDER_FUN}
  Run Keyword          Second                ${HIGHER_ORDER_FUN}

Second   [Arguments]   ${HIGHER_ORDER_FUN}
  Run Keyword          ${HIGHER_ORDER_FUN}

Third
  Log                  Third

-------------

executed like this:

$> pybot -L TRACE dryrun_higher_order.robot

works perfectly fine, but

$> pybot -L TRACE --dryrun dryrun_higher_order.robot

gives

============================================================
A testcase                                         | FAIL |
No keyword with name '${HIGHER_ORDER_FUN}' found.
-----------------------------------------------------------

.. looking at the TRACE log, it seems that ${HIGHER_ORDER_FUN} is converted to
the string '${HIGHER_ORDER_FUN}' internally in the keyword 'Second'.

Tried this w/ 2.8.4 in Python 2.7.3 and Jython 2.5

--
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.

Reply via email to