groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Winnebeck, Jason" <>
Subject Command Chain in assert
Date Fri, 06 Nov 2015 21:42:29 GMT
Is it possible to support command chain in asserts? I'm trying to create a testing DSL.

The expression item("abc").exists will return a boolean. So I can do this:

item "abc" exists

But I can't do this:
assert item "abc" exists

Is something like that possible?


This email message and any attachments are for the sole use of the intended recipient(s).
Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all copies of the
original message and any attachments.

View raw message