[rspec-users] extend Cucumber's arguments

aslak hellesoy aslak.hellesoy at gmail.com
Wed Oct 15 07:11:50 EDT 2008


On Wed, Oct 15, 2008 at 12:26 PM, aidy lewis <aidy.lewis at googlemail.com> wrote:
> Hi,
>
> We would like to pass in some additional command line arguments into
> Cucumber (for example to specify which browser to run the tests with).
>
> Is there any way to extend Cucumber's arguments, or could you suggest
> an alternative way of going about this?
>

I recommend you use environment variables for this.
ENV['BROWSER_NAME'] in Ruby and BROWSER_NAME=firefox on the command
line.

Aslak

> Aid
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list