search for: cucumber_opts

Displaying 3 results from an estimated 3 matches for "cucumber_opts".

2008 Dec 04
2
Cucumber and Rcov
...e cucumber site: desc "Run all features" task :features => "features:all" task :features => ''db:test:prepare'' require ''cucumber/rake/task'' #I have to add this -mischa namespace :features do Cucumber::Rake::Task.new(:all) do |t| t.cucumber_opts = "--format pretty" end Cucumber::Rake::Task.new(:cruise) do |t| t.cucumber_opts = "--format pretty --out=#{ENV[''CC_BUILD_ARTIFACTS'']}/features.txt --format html --out=#{ENV[''CC_BUILD_ARTIFACTS'']}/features.html" t.rcov = true...
2009 Jan 30
3
Pass a variable from rake to steps file in cucumber
...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 would like to have access to the "browser_type" variable in my "Before do" in my_steps.rb file. ## my_steps.rb Before do $browser = Selenium::SeleniumDriver.new($server_host, $server_port, "browser_type", $root_url, $time_...
2008 Dec 03
3
Intermittent Cucumber exception
Hi Anyone recognise this exception, and know what causes it to happen occasionally? Thanks Ashley Scenario: new story appears on feed # features/descriptions/ story_notification.feature:12 /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/cucumber/ broadcaster.rb:15:in `write'': Bad file descriptor (Errno::EBADF) from