[Webtest] [webtest][JIRA] Closed: (WT-394) ifStep should allow nested 'then' and 'else' groups

Paul King (JIRA) Paul King (JIRA)" <noreply@canoo.com
Thu, 28 Feb 2008 08:59:48 +0100 (CET)


     [ http://webtest-community.canoo.com/jira/browse/WT-394?page=all ]
     
Paul King closed WT-394:
------------------------


> ifStep should allow nested 'then' and 'else' groups
> ---------------------------------------------------
>
>          Key: WT-394
>          URL: http://webtest-community.canoo.com/jira/browse/WT-394
>      Project: WebTest
>         Type: New Feature

>     Versions: 2.5
>     Reporter: Paul King
>     Assignee: Paul King
>      Fix For: future versions

>
> Even when trying to write tests declaratively, it is sometimes convenient to have simplistic conditional logic. This is provided by 'ifStep' but only in a very simple form. Adding this feature will allow this style to be used when it is needed without resorting to duplication of code. The intent is to support this:
> {code}
> <ifStep test="${myCondition}">
>     <then>
>         <echo message="inside then"/>
>     </then>
>     <else>
>         <echo message="inside else"/>
>     </else>
> </ifStep>
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira