[Windmill-dev] Assert JS Expression

Matthew Eernisse mde at osafoundation.org
Fri Dec 7 18:48:07 PST 2007


Adam,

Perfect solution.

It gives people the ability to plug in a snippet of JavaScript -- 
without trying to shoehorn all the JavaScript jum asserts into dumb JSON 
objects (which would also have, as we discussed in IRC, introduced all 
kinds of ugly and intractable typing problems).

Nicely done.


Matthew



Adam Christian wrote:
> Bobby,
> 
> This is the solution for what you want to do that is checked into 
> windmill .3:
> {"params": {"js": "_w.closed == false;"}, "method": "asserts.assertJS"}
> 
> Adam
> 
> On Dec 6, 2007, at 5:30 PM, Bobby Rullo wrote:
> 
>> I would like to see a new type of assert available in the IDE: assert 
>> that a JavaScript expression is true. Or assert that it equals some 
>> specified value.
>>
>> Thanks!
>>
>> bobby
>> _______________________________________________
>> Windmill-dev mailing list
>> Windmill-dev at osafoundation.org
>> http://lists.osafoundation.org/mailman/listinfo/windmill-dev
> 
> _______________________________________________
> Windmill-dev mailing list
> Windmill-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/windmill-dev
> 



More information about the Windmill-dev mailing list