forked from aslakhellesoy/cucumber_site
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
347 lines (267 loc) · 15.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Cucumber - Making BDD fun</title>
<link rel="icon" type="image/png" href="images/cucumber64x64.png"/>
<link rel="stylesheet" href="css/global.css" type="text/css" charset="utf-8" />
<!--[if IE 6]>
<link href="/css/ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 7]>
<link href="/css/ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script src="/js/scripts.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div id="header">
<div class="navigation">
<ul id="nav">
<li>
<h4><a href="http://github.com/aslakhellesoy/cucumber/wikis">Wiki</a></h4>
<p><a href="http://github.com/aslakhellesoy/cucumber/wikis">Detailed documentation</a></p>
</li>
<li>
<h4><a href="http://github.com/aslakhellesoy/cucumber/tree/master/examples/i18n">Examples</a></h4>
<p><a href="http://github.com/aslakhellesoy/cucumber/tree/master/examples/i18n">Use your mother tongue</a></p>
</li>
<li>
<h4><a href="http://rspec.lighthouseapp.com/projects/16211-cucumber/overview">Lighthouse</a></h4>
<p><a href="http://rspec.lighthouseapp.com/projects/16211-cucumber/overview">Feature requests and bugs</a></p>
</li>
<li>
<h4><a href="http://groups.google.com/group/cukes">Mailing list</a></h4>
<p><a href="http://groups.google.com/group/cukes">Ask questions</a></p>
</li>
<li>
<h4><a href="irc://irc.freenode.net/cucumber">IRC</a></h4>
<p><a href="irc://irc.freenode.net/cucumber">Get instant help</a></p>
</li>
</ul>
</div>
<h2 id="logo"><a href="/">Cucumber</a></h2>
<p class="title">Behaviour Driven Development with elegance and joy</p>
</div><!-- /#header -->
<div id="content">
<div class="inner">
<div class="columns threecol">
<div class="column first">
<h2>1: Describe behaviour in plain text</h2>
<img src="images/feature.png" alt="Feature" />
</div>
<div class="column middle">
<h2>2: Write a step definition in Ruby</h2>
<img src="images/calculator_steps.png" alt="Calculator Steps" />
</div>
<div class="column last">
<h2>3: Run and watch it fail</h2>
<img src="images/failing.png" alt="Failing output" />
</div>
</div>
<div class="columns threecol">
<div class="column first">
<h2>4. Write code to make the step pass</h2>
<img src="images/calculator.png" alt="Feature" />
</div>
<div class="column middle">
<h2>5. Run again and see the step pass</h2>
<img src="images/pending.png" alt="Pending output" />
</div>
<div class="column last">
<h2>6. Repeat 2-5 until green like a cuke</h2>
<img src="images/passing.png" alt="Passing output" />
</div>
</div>
<div class="columns threecol">
<div class="column first">
<h2>7. Repeat 1-6 until the money runs out</h2>
<p>
Cucumber lets software development teams describe how software should behave in plain text.
The text is written in a
<a href="http://www.martinfowler.com/bliki/BusinessReadableDSL.html">business-readable domain-specific language</a>
and serves as documentation, automated tests and development-aid - all rolled into one format.
</p>
<p>
Cucumber works with Ruby, Java, .NET, Flex or web applications written in any language.
It has been translated to over 30 spoken languages.
</p>
<p>Cucumber also supports more succinct tests in tables - similar to what <a href="http://fit.c2.com/"><span class="caps">FIT</span></a> does. Dig around in the examples and documentation to learn more about Cucumber tables.</p>
<p>
<script type="text/javascript" src="http://www.ohloh.net/p/34411/widgets/project_users.js?style=green"></script>
</p>
<h2>Background and Credits</h2>
<p>Cucumber is Aslak Hellesøy’s rewrite of RSpec’s “Story runner”, which was originally written by Dan North. (Which again was a rewrite of his first implementation - “RBehave”). Early versions of “Story runner”
required that stories be written in Ruby. Shortly after, David Chelimsky added
<a href="http://blog.davidchelimsky.net/articles/2007/10/21/story-runner-in-plain-english">plain text</a> support with
contributions from half a dozen other people.</p>
<p>
Aslak Hellesøy wrote Cucumber to address the usability problems of the RSpec Story Runner. <a href="http://blog.josephwilk.net/">Joseph Wilk</a> joined as a regular contributor when Cucumber was just a little Gherkin,
and over <a href="http://pastie.org/460907">over 90</a> developers have contributed
patches and bugfixes.
</p>
<p>The meta-language that Cucumber uses is based on several conversations and blog posts
by <a href="http://dannorth.net/">Dan North</a>, <a href="http://abc.truemesh.com/">Chris Matts</a>,
<a href="http://sirenian.livejournal.com/">Liz Keogh</a>, <a href="http://blog.davidchelimsky.net/">David Chelimsky</a> and dozens of people on the RSpec mailing list.
</p>
</div>
<div class="column second">
<h2>Learn more!</h2>
<p>
<a href="http://en.oreilly.com/rails2009/public/schedule/detail/7722">
<img src="http://assets.en.oreilly.com/1/event/24/rails2009_banner_speaking_210x60.jpg" width="210" height="60" border="0" alt="RailsConf 2009" title="RailsConf 2009" />
</a>
<br />
Aslak will be presenting Cucumber at RailsConf in Las Vegas.
</p>
<p>
<a href="http://www.pragprog.com/titles/achbd">
<img src="images/achbd.jpg" alt="The RSpec Book: Behaviour Driven Development with RSpec, Cucumber and Friends"/>
</a>
The RSpec book has several chapters dedicated to Cucumber.
</p>
<p>
<a href="http://scotland-on-rails.s3.amazonaws.com/1A06_JosephWilk-SOR.mp4">
<img src="images/cuke_tv_joseph_wilk_scotland_on_rails_09.png" alt="Outside In with Cucumber - Joseph Wilk at Scotland on Rails 2009" />
</a>
May 21, 2009 - Joseph Wilk from the Cucumber team presents Outside-In development with Cucumber at Scotland On Rails 2009.
</p>
<p>
<a href="http://obtiva.com/screencasts/Cucumber_Driven_Classes_5_11_qtob.mov">
<img src="images/cuke_tv_joseph_leddy.png" alt="Ruby Classes via Cucumber - Joseph Leddy & Leah Welty-Rieger from Obtiva" />
</a>
May 20, 2009 - Ruby Classes via Cucumber by Joseph Leddy & Leah Welty-Rieger at <a href="http://obtiva.com/">Obtiva</a>
</p>
<p>
<a href="http://railscasts.com/episodes/159-more-on-cucumber">
<img src="images/cuke_tv_rails_casts_more.png" alt="More on Cucumber - Ryan Bates Railscasts" />
</a>
Apr 27, 2009 - Ryan Bates from <a href="http://railscasts.com/">RailsCasts</a> dives into tables, scenario outlines
and tags.
</p>
<p>
<a href="http://smartic.us/2009/04/01/introduction-to-acceptance-testing-ruby-web-applications/">
<img src="images/cuke_tv_bryan_liles.png" alt="Acceptance-Testing Ruby Web Apps - Bryan Liles" />
</a>
Apr 01, 2009 - <a href="http://smartic.us/">Bryan Liles</a> gives an introduction to Cucumber, Webrat and Integrity.
</p>
<p>
<a href="http://railscasts.com/episodes/155-beginning-with-cucumber">
<img src="images/cuke_tv_rails_casts_beginning.png" alt="Beginning with Cucumber - Ryan Bates Railscasts" />
</a>
Mar 30, 2009 - Ryan Bates from <a href="http://railscasts.com/">RailsCasts</a> demonstrates
how to get started with Cucumber and Ruby on Rails.
</p>
<p>
<a href="http://mwrc2009.confreaks.com/14-mar-2009-15-00-bdd-with-cucumber-ben-mabey.html">
<img src="images/cuke_tv_ben_mabey_mwrc.png" alt="Outside-In Development with Cucumber at MountainWest RubyConf" />
</a>
Mar 14, 2009 - <a href="http://benmabey.com/">Ben Mabey</a> presents at <a href="http://mtnwestrubyconf.org/2009/">MountainWest RubyConf</a>. <a href="http://www.slideshare.net/bmabey/outsidein-development-with-cucumber/download">Download the slides</a> and follow along!
</p>
<p>
<a href="http://pivotallabs.com/talks/38-making-a-case-for-cucumber">
<img src="images/cuke_tv_jeff_dean.png" alt="Discussion on Cucumber's Usefulness and Value" />
</a>
Feb 04, 2009 - Jeff Dean talks about his experience with Cucumber at
<a href="http://pivotallabs.com/">Pivotal Labs</a>.
</p>
<p>
<a href="http://vimeo.com/2871256">
<img src="images/cuke_tv_watir.png" alt="Cucumber and Watir" />
</a>
Jan 18, 2009 - <a href="http://redsquirrel.com/dave/">Dave Hoover</a> demonstrates how to use
<a href="http://wtr.rubyforge.org/">Watir</a> with Cucumber. Actually, he uses his own library
<a href="http://safariwatir.rubyforge.org/">SafariWatir</a>,
but you could easily swap it with
<a href="http://wtr.rubyforge.org/">Watir</a>,
<a href="http://wiki.openqa.org/display/WTR/FireWatir/">FireWatir</a>,
<a href="http://code.google.com/p/chrome-watir/">ChromeWatir</a> or
<a href="http://celerity.rubyforge.org/">Celerity</a>. Sorry - no sound.
</p>
<p>
<a href="http://www.cocoacast.com/?q=node/204">
<img src="images/podcast.png" alt="Podcast"/>
</a>
Cocoacast interview with Aslak Hellesøy - creator of Cucumber.
</p>
</div>
<div class="column third">
<h2>Download</h2>
<p>
You need Ruby installed. Then just run<br />
<code>gem install cucumber</code><br />
from a command prompt. Now, run <br />
<code>cucumber --help</code><br />
</p>
<p>
You can install development snapshots too:<br />
<code>gem sources --add http://gems.github.com</code><br />
<code>gem install aslakhellesoy-cucumber</code><br />
</p>
<p>
The <a href="http://github.com/aslakhellesoy/cucumber/wikis">wiki</a> has more information.
</p>
<h2>Testimonials</h2>
<blockquote>
<p>My attention-span is short so I may be forgetting something but I think Cucumber could be the most important piece of software released in 2008 for Ruby-based developers.</p>
</blockquote>
<p>—<a href="http://drnicwilliams.com/2008/10/31/newgem-100-all-thanks-to-cucumber/"><em>Dr Nic</em></a></p>
<blockquote>
<p>We are currently rolling out Cucumber to all projects within <span class="caps">BBC</span> Worldwide. We use it with great success in combination with Watir and Firewatir to automate our web acceptance tests. The natural language format is a great communication facilitator between all stakeholders.</p>
</blockquote>
<p>—Aidy Lewis</p>
<blockquote>
<p>If you’re looking for a higher level of abstraction in your tests, it’s definitely worth checking out.</p>
</blockquote>
<p>—<a href="http://www.rubyinside.com/cucumber-the-latest-in-ruby-testing-1342.html"><em>Mike Gunderloy on Ruby Inside</em></a></p>
<blockquote>
<p>I finally looked into cucumber last week and immediately loved it. Within a couple hours I had several features written for an existing application. By the end of the next day, our whole team was writing cucumber features, and enjoying it! Cucumber seems to have brought back an excitement to testing that I haven’t felt for a while (since my first few weeks with RSpec).</p>
</blockquote>
<p>—<a href="http://www.ruby-forum.com/topic/166392#730725"><em>Brandon Keepers</em></a></p>
<blockquote>
<p>Seeing what you guys are doing is just over-the-top cool. <span class="caps">BDD</span>
is great, Domain Driven Design is great. Stuff I wish I knew 20 years
ago.</p>
</blockquote>
<p>—<a href="http://www.nabble.com/cucumber-docs-tt20370423.html#a20372905"><em>Tim Walker</em></a></p>
<blockquote>
<p>I started using Cucumber yesterday and it was really easy.</p>
</blockquote>
<p>—<a href="http://barkingiguana.com/2008/11/11/getting-started-with-story-driven-development-for-rails-with-cucumber"><em>Craig Webster</em></a></p>
<blockquote>
<p>Cucumber allows you to write feature documentation in Plain Text. It means you could sit with your Client or Business Analyst to write down the features to be build on your application.</p>
</blockquote>
<p>—<a href="http://advent2008.hackruby.com/past/2008/12/4/cool_as_a_cucumber/"><em>Lakshan Perera’s Ruby Advent 2008</em></a></p>
<blockquote>
<p>Cucumber is fast becoming the standard for acceptance testing in Rails. Cucumber is a <span class="caps">BDD</span> tool for specification of application features and user scenarios in plain text. It’s powered by Ruby, supports over 20 spoken languages, and integrates with other testing platforms.</p>
</blockquote>
<p>—<a href="http://github.com/blog/258-github-rebase-7"><em>Nick Quaranto – GitHub Featured project December 2008</em></a></p>
<blockquote>
<p>God <span class="caps">DAMN I</span> want a <span class="caps">BDD</span> tool for Python that runs as well as cucumber 0.0003 or whatever it’s called does already. Dammit.</p>
</blockquote>
<p>—<a href="http://twitter.com/Vaguery/statuses/1098306887"><em>Bill Tozier</em></a></p>
<blockquote>
<p>Continuous Integration Blueprints: How to Build an Army of Killer Robots With Hudson and Cucumber.</p>
</blockquote>
<p>—<a href="http://www.softwarebloat.com/2008/11/19/continuous-integration-blueprints-how-to-build-an-army-of-killer-robots-with-hudson-and-cucumber/"><em>Robert Boyd</em></a></p>
</div>
</div>
</div>
</div><!-- /#content -->
<div id="footer">
Cucumber was written by <a href="http://blog.aslakhellesoy.com/">Aslak Hellesøy</a>,
Chief Scientist in <a href="http://bekk.no/">BEKK</a>. It has been extended and improved
by <a href="https://www.ohloh.net/p/cucumber/factoids/1022583">over 40</a> developers
around the world. Logo by <a href="http://gid.tumblr.com/">Gideon Bullock</a>.
</div><!-- /#footer -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6729167-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>