[Windmill-dev] Negating assertions?
Matthew Eernisse
mde at osafoundation.org
Wed Dec 19 22:58:14 PST 2007
Mikeal Rogers wrote:
> It may be worth doing the notAssertNode ( or is it assertNotNode? ) to
> have some kind of parity with jsunit, which we do support in the
> JavaScript framework.
That's right, we do already have:
assertNotEquals
assertNotNull
assertNotUndefined
assertNotNaN
in the JSUnit-compatible asserts.
So I'd favor following that convention -- it also makes logical sense:
you're still asserting something, just asserting that something is *not*
the case.
Matthew
More information about the Windmill-dev
mailing list