Skip to content

Instantly share code, notes, and snippets.

@danlucraft
Created September 21, 2010 20:04
Show Gist options
  • Save danlucraft/590426 to your computer and use it in GitHub Desktop.
Save danlucraft/590426 to your computer and use it in GitHub Desktop.
Feature: Predictive macros
As a user
I want Redcar to read my mind
So I don't have to type stuff
Background:
When I open a new edit tab
Scenario: Repeat simple command sequence that is fully repeated
When I type "abab"
And I press predict
Then the contents should be "ababab"
Scenario: Repeat simple command sequence that is fully repeated twice
When I type "abab"
And I press predict
And I press predict
Then the contents should be "abababab"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment