You are looking at historical revision 23749 of this page. It may differ significantly from its current revision.

Chickumber

Introduction

This is a an implementation of a wire-server for cucumber. It allows you to develop and run you're acceptance tests within cucumber by defining the steps in scheme.

I provides the chickumber-server application as well as an api that allows you do define your steps.

For those of you who don't know cucumber yet, please check out Cucumber, for an overview.

Using the chickumber-server

The following assumes that you have a working-directory with a standard-layout. That means you have the subdirectories features, features/step_definitions features/support.

First make sure that you let cucumber know that you want to use the wire-server. To do so create a file features/step_definitions/chickumber.wire with the following content:

host: localhost
port: 61616

Now start your chickumber-server with the following command:

$ chickumber-server -f test -v 

By default the server loads all scheme files in features/support and features/step_definitions. The files in features/support are loaded before the step_definitions.

Now you're server is up an running and you can run cucumber on your features.

Example:

$ cucumber --tags @chickumber 

Writing step-definitions