Displaying 1 result from an estimated 1 matches for "tt21789574".
2009 Jan 30
3
Pass a variable from rake to steps file in cucumber
Can anybody tell me how to pass a variable from the rake command to my steps
file using cucumber? I have the following in my Rakefile:
## Rakefile
Cucumber::Rake::Task.new do |t|
profile = ENV[''PROFILE''] || ''default''
browser_type = ENV[''BROWSER''] || ''*chrome''
t.cucumber_opts = "--profile #{profile}"
end
I