Spinach is a BDD framework for Ruby, built on top of Gherkin.
Spinach is a BDD framework for Ruby, built on top of Gherkin.
Written in pure Ruby, it is "a high-level BDD framework that leverages the expressive Gherkin language (used by Cucumber) to help you define executable specifications of your application or library's acceptance criteria."
It was conceived as an alternative to Cucumber, with step maintainability and step reusability as some of its design goals. It features encapsulation and modularity of step definitions.
Rails support is available via a compatibility layer called spinach-rails.