Skip to content
Set of reusable step definitions to test a Rails application with Cucumber
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
features Actualizado botón de borrado de atributo anidado
rails_generators Evitamos requerir la gema de cucumber si existe como plugin
.gitignore Release 0.1.10: Up to Cucumber 0.4.4 release
.gitmodules StringMapper for test app as git submodule in vendor/plugins
History.txt Actualizado READMEs con nuevas features y corregigo History.txt
Manifest.txt Release 0.2.1: Capybara vs. Webrat release
README.markdown Actualizado READMEs con nuevas features y corregigo History.txt
README_es.markdown Actualizado READMEs con nuevas features y corregigo History.txt
Rakefile Trabajando en el build con Ruby 1.9
init.rb Distribución del código como plugin, no como rails app (ahora en spec…
mundo-pepino.gemspec Release 0.2.2



Welcome to MundoPepino!

First of all, please note that this README is also available and (still) much more complete in Spanish.


Expresing our app behaviour with a natural language has to deal with the fact that one sentence can be expresed in many different ways.

This fact can easily drive us towards an explosion of the step definitions making the maintenance of our app more difficult.

At the same time, to describe an app there is a group of sentences that we're very likely to need, like for example those which refer to posible interactions of the user while browsing a site.

MundoPepino is a set of reusable step definitions to test Rails apps with Cucumber.


MundoPepino was originally implemented to write features in Spanish. Its code has been recently modified to support different languages (and, theoretically, at the same time if needed).

Currently only part of the original set of steps (and just a little of the documentation) has been translated to English. On the other hand features written in English don't have to manage the complexity added by translations of models and attributes. Cousin projects like pickle or email-spec are much more advanced to write features in English.

For other languages, before start your own implementation, it'd be nice if you:

  • start a new language in MundoPepino (we'll be glad to help you if you try), or
  • look for your language in similar i18n projects.




Simple instance/s creation optionally with its/their name/s

Given three orchards called "H-01, H-02 y H-03"

more examples

Page request

Given I am on the homepage

more examples


I see (or not) a text

Then I should see the text "Hello!"

more examples


Copyright 2009, The Cocktail Experience. Fernando García Samblas

This is free software released under the GPL License (see license agreement in COPYING).

Something went wrong with that request. Please try again.