[Windmill-dev] JS test suite or test setup/teardown

Mikeal Rogers mikeal at osafoundation.org
Mon Dec 17 13:43:52 PST 2007


Ok, here is how I think things will work on my end.

$ windmill jsdir=test_js jsfilter=ns:blah

or

$ windmill jsdir=test_js jsfilter=method:blah

The jsdir is mounted and recursively parsed for .js files, the filter  
and all the .js urls are sent in a single callback to the IDE along  
with a UUID for the test run.

{
'method':'commands.jsTest',
'params':{'files': [ ---list of urls---],
                  'filter': "ns:blah",
                  'uuid': "sadf-asdf-asdf-asdf-asdf" }
}

If it makes things easier, we can rename the uuid option as to not  
confuse that uuid param to the root level uuid param for all RPC calls  
between the Service and IDE.

Thoughts?

-Mikeal


More information about the Windmill-dev mailing list