playup/zucchini — Issue #2: Is there any support for testing expectations?
Author: wordofchristian
Created: 2012-02-20 00:12:27+00:00
State: open

I wondering how you would go about having expectation style test steps with zucchini?

You know the "Then is should see " part of cucumber.

This seemed to be missing from your examples.

Would it be possible to use assertion statements similar to what's described here? http://cocoamanifest.net/articles/2011/07/ui-automation-part-2-assertions-and-imports.html

Or is it only possible to test by comparing screenshots?

It seems that its missing the point of cucumbers "write the tests first" approach.