
| Key: |
WT-394
|
| Type: |
New Feature
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Assignee: |
Paul King
|
| Reporter: |
Paul King
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
WebTest
Created: 27/Feb/08 14:02:28
Updated: 28/Feb/08 08:59:18
|
|
| Affects Version/s: |
2.5
|
| Fix Version/s: |
2.6
|
|
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}
|
|
|