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

New issue 1356 by eron...@gmail.com: Allow Given/When/Then/And before assignment
http://code.google.com/p/robotframework/issues/detail?id=1356

It would be nice to be able to write e.g.

Deposit Increases Account Balance
   Given Valid Account
   and ${old_balance}=  Get Account Balance
   When User Deposits 5 Euros
   Then ${new_balance}=  Get Account Balance
   and Should Be Equal  ${new_balance}  ${old_balance+5}

Currently "and" or "then" are not allowed before assignment, and you need to write e.g.

  ${old_balance}=  and Get Account Balance

instead, which is less readable...

--

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