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

Mikeal Rogers mikeal at osafoundation.org
Wed Dec 19 15:04:47 PST 2007


On Dec 19, 2007, at December 19, 20071:01 PM, Matthew Eernisse wrote:

> This looks good. What's the timing of getting this added in?
>
> Mikeal Rogers wrote:
>>>> {
>>>> 'method':'commands.jsTest',
>>>> 'params':{'files': [ ---list of urls---],
>>>>                'filter': "ns:blah",
>>>>                'uuid': "sadf-asdf-asdf-asdf-asdf" }
>>>> }
>
> Also noting that since you can't do a load-only of the JS tests,  
> it's pretty critical to have setup-only, test-only, and teardown- 
> only options when running the tests so you don't go insane during  
> test development.
>
> So ...
>
> 1. What would that syntax look like?
> 2. How long would that take to implement?

Good point, could we use the filter option for that?

filter=only:setup
           only:setup/teardown
           only:test,ns:blah

??

A single option, key:value comma delimited?

-Mikeal


More information about the Windmill-dev mailing list