small medium large xlarge

Larrycai200200_pragsmall
12 Mar 2012, 03:00
Larry Cai (8 posts)

In version b6_0, p121

The next two steps of our scenario, both of the form “I successfully run ‘some command,’” are defined by Aruba,

And it is not clearly how it works to beginner, I searched inside the book, can’t find the clue.

Later I noticed, it seems it should be added in one line in support/env.rb

require 'aruba/cucumber'

Since the aruba’s official documentation is not good enough (I checked the source codes to understand), it will be very nice you can add more sentence to describe how it works and several patterns

Larrycai200200_pragsmall
12 Mar 2012, 14:40
Larry Cai (8 posts)

And also I create the env.rb to let aruba works both for windows platform and unix platform, see gist https://gist.github.com/2022360

inspired from http://strong-leaf-44.heroku.com/2010/04/22/aruba—cucumber-goodness-for-the-command-line/

Dmfcb_pragsmall
14 Mar 2012, 17:48
David Copeland (487 posts)

I was trying not to get TOO much into how cucumber works, and I’m not sure what you found hard to follow; was it that it wasn’t clear how those steps were provided by Aruba?

Larrycai200200_pragsmall
15 Mar 2012, 05:03
Larry Cai (8 posts)

Yes, I understand the balance is quite difficult.

In latest p1 release

Page 126 @env.rb@ @require ‘aruba/cucumber’@ is not stated, which cause the example doesn’t work

You must be logged in to comment