Skip to content

Instantly share code, notes, and snippets.

@insanehunter
Created December 6, 2011 15:41
Show Gist options
  • Save insanehunter/1438622 to your computer and use it in GitHub Desktop.
Save insanehunter/1438622 to your computer and use it in GitHub Desktop.
MacCuke Functional Test Example
Feature: Main Window
As a user I expect application to display its main window with correct title.
(The title should be a short application name according to Mac HIG).
Another essential window part is a sidebar, providing access to main application
features.
Scenario: Application displays main window
I see a window titled "Make Buzz!"
Scenario: Application window has sidebar
Given I see a window titled "Make Buzz!"
Then I see a sidebar with the following structure (nested items denoted by '>' mark):
| -- sidebar item -- |
| FEED & CARE |
| > Audience |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment