[Windmill-dev] Assert param names

Adam Christian adam at osafoundation.org
Fri Nov 16 15:23:45 PST 2007


When I wrote the assert statements I used the word validator for every  
method as target to assert, for example:

asserts.assertText takes a param validator that is the text that you  
are validating, wouldn't it make more sense to have this param simply  
called text, and for assertValue have it assert value?

I can add some code to make it backwards compatible, but going forward  
I think it's more intuitive to call it what it actually is.

Adam


More information about the Windmill-dev mailing list