[Windmill-dev] asserts and waits
Mikeal Rogers
mikeal at osafoundation.org
Wed Aug 29 12:55:09 PDT 2007
We're starting to add more asserts and conditional waits to the
windmill controller API.
This is starting to get ugly, as we seem to have gone the xUnit
router of using separate functions for every case. In the hope of
keeping our API and test writing UI clean I'd like to change this.
I suggest we have only one wait() and one assert() and implement the
additional functionality as keyword arguments to those functions. So,
assertNode(id="asdf") becomes assert(node={"id":"asdf"}).
Any complaints/issues, i know Adam has some concerns about adding the
dynamic UI for this but the longer we wait to clean this up the worse
it's going to get.
-Mikeal
More information about the Windmill-dev
mailing list