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

Travis Vachon travis at osafoundation.org
Tue Dec 11 14:55:28 PST 2007


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


With a note that the camel case/underscore stuff is an unfortunate  
impedance mismatch between js and python. Given that these tests are  
in js I'd advocate moving to:

testModule.setup()
testModule.testA()
testModule.testB()
testModule.teardown()

That would, of course, mean changes in the js test framework, so I'm  
not going to advocate too hard. Generally I prefer underscore variable  
names, but "When in Rome..."

-Travis


More information about the Windmill-dev mailing list