Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.39 KB

README.org

File metadata and controls

33 lines (26 loc) · 1.39 KB

cucumber layer

Table of Contents

Description

This layer adds support for Gherkin and Cucumber via feature-mode.

Features:

  • Syntax highlighting for Gherkin
  • Run tests from Spacemacs
  • Go to step definitions

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add cucumber to the existing dotspacemacs-configuration-layers list in this file.

See the cucumber.el README for important information on installing the Ruby dependencies for feature-mode.

Key bindings

Key BindingDescription
SPC m vVerify all scenarios in the current buffer file.
SPC m sVerify the scenario under the point in the current buffer.
SPC m fVerify all features in project. (Available in feature and ruby files).
SPC m rRepeat the last verification process.
SPC m gGo to step-definition under point (requires ruby_parser gem >= 2.0.5).