Skip to content
croaky edited this page Sep 13, 2010 · 7 revisions

Acceptance testing with Cucumber provides nice Outside-In development, starting from the user interface. We recommend running the Cucumber features generator for Clearance for maximum test coverage.

Cucumber installation

Follow the instructions on the Cucumber wiki.

Cucumber features generator

Run the Cucumber features generator that comes with Clearance:

script/generate clearance_features

This will create the following files:

exists features/step_definitions create features/step_definitions/clearance_steps.rb create features/sign_in.feature create features/sign_out.feature create features/sign_up.feature create features/password_reset.feature

Clone this wiki locally