From: Robert Klemme Date: 2007-04-14T01:10:13+09:00 Subject: Re: conditional statements within test method parameters? On 13.04.2007 16:40, aidy.lewis@googlemail.com wrote: > hi, > > I have a test method that writes some xml. The second parameter is > optional, the first parameter is boolean. > > > test_results((assert(REMEMBER_ME.isSet?)), *msg) > > > Would it be possible to embed a conditional statement between these > parameters > > Something like: > > > test_results((assert(REMEMBER_ME.isSet?)), unless 'the object is not > set') ? > > > cheers I'm not sure what you are trying to achieve. But it seems strange to have an assert and caveat with an "unless". Can you explain a bit more what you want to do? Kind regards robert