Sha256: f3544b7fb9cff9eef851180ed237e182e581c70f7fb02911b6e3f0f59c1d79da

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

h1. Cucumber

"Cucumber":http://github.com/aslakhellesoy/cucumber is a tool that can execute documentation written in plain text. Cucumber targets non technical domain experts as well as
programmers and QA people. Cucumber itself is written in Ruby, but it can be used to "test" code written in Ruby, Java 
(or web applications written in any language). When "IronRuby":http://www.ironruby.net/ matures it can be used to "test"
.NET code too.

While Cucumber can be thought of as a "testing" tool, most people use it to support "BDD":http://behaviour-driven.org/, so
the "tests" are typically the first thing that gets written, and the production code is then written outside-in, to make
the test pass.

h2. Installation

After you have installed Ruby or JRuby - install Cucumber with the following commands:

Ruby:
<pre><code>gem sources --add http://gems.github.com/ 
gem install aslakhellesoy-cucumber
</code></pre>

JRuby:
<pre><code>jruby -S gem sources --add http://gems.github.com/ 
jruby -S gem install aslakhellesoy-cucumber
</code></pre>

h2. Getting started

I haven't written a tutorial yet. Take a look at the "examples":http://github.com/aslakhellesoy/cucumber/tree/master/examples.
Each example directory has a Rakefile, and you can run the features with

<pre><code>rake features</code></pre>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aslakhellesoy-cucumber-0.1.1 README.textile