[Windmill-dev] Controller naming
Adam Christian
adam at osafoundation.org
Wed Oct 10 23:37:17 PDT 2007
Mikeal, the whole asserts thing is there and redundant due to a
naming convention mde needed for developing the jsTests, we had a
long debate about it and this really was the best solution.. however
at the moment I can't remember the details, mde?
The waits.forNotTitle is useful because it allows you to provide a
HTML title, and to wait until it changes to something else.. it's
good for moving to a new page and we use it in the loading code to
wait to set a listener until the testWindow title is no longer
"Windmill Testing Framework"
Adam
On Oct 10, 2007, at 10:09 PM, Mikeal Rogers wrote:
> I was looking through the controller documentation and noticed some
> really nasty looking names.
>
> I know it's a pain in the ass to change these, but we've gotta do
> this before we release 0.2 if we're going to do it.
>
> I've already committed to not making any public API changes until
> 0.3, so this will have to go in tomorrow 0.2 before people invest
> in them any more.
>
> http://windmill.osafoundation.org/trac/wiki/BookChapter-4-
> WritingTests#AvailableMethods
>
> waits.forNotTitle -- maybe this one is fine, i just don't
> understand it
>
> The entire assert namespace is redundant
> asserts.assertText -> asserts.text
> asserts.assertNode -> asserts.node
> asserts.assertValue -> asserts.value
> asserts.assertSelected -> asserts.selected
> asserts.assertChecked -> asserts.checked
> asserts.assertProperty -> asserts.property
> asserts.assertImageLoaded -> asserts.imageLoaded
>
> What does everyone else think?
>
> -Mikeal
> _______________________________________________
> Windmill-dev mailing list
> Windmill-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/windmill-dev
More information about the Windmill-dev
mailing list