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

Mikeal Rogers mikeal at osafoundation.org
Tue Dec 11 15:45:58 PST 2007


> testModule.setup()
> testModule.test_a()
> testModule.test_b()
> testModule.teardown()

This just reminded me of something i forgot. All the "collection"  
magic in functest and windmill is name based. Special names like  
setup_module and teardown_module, and test functions are any function  
that startswith "test".

I'd also like to add in this to your example;

testModule.setup()
testModule.test_a()
testModule.test_b()
testModule.test_pim.test_c()
testModule.teardown()

-Mikeal


More information about the Windmill-dev mailing list