Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ecukes step definitions
Emacs Lisp
branch: master

This branch is 5 commits behind ecukes:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
vendor
.gitignore
.travis.yml
Cask
Makefile
README.md
espuds.el

README.md

Espuds - Ecukes step definitions Build Status

First of all. If you don't know what Ecukes is, go read up about it first. If you have, you should know that in order to test with Ecukes, you need to translate your steps so that Emacs understands them. You do that with step definitions.

Espuds is a collection of the most commonly used step definitions.

Installation

Add espuds to your Cask file:

(depends-on "espuds")

Gotchas

Action Chain

Some actions require more than one keyboard input. For example functions that reads input via the minibuffer (not via interactive). To handle such cases, you wrap the actions in a block. For example:

Scenario: Activate linum mode
  Given I start an action chain
  And I press "M-x"
  And I type "linum-mode"
  And I execute the action chain
  Then linum-mode should be active

Contributing

Contribution is much welcome! When adding new features, please write tests for them!

Install cask if you haven't already, then:

$ cd /path/to/espuds
$ cask

Run all tests with:

$ make
Something went wrong with that request. Please try again.