2011-03-28 8 views

답변

1

이 오이 작업 파일 (cucumber.rake)을 찾아 원하는 파일을 제외 할 무엇 rcov_opts에 쓰기 :

그렇다면,이 같은 뭔가 도움이 될 수 있습니다. 예 :

Cucumber::Rake::Task.new({:ok => ['coverage_setup', 'db:test:prepare']}, 'Run features that should pass') do |t| 
t.binary = vendored_cucumber_bin 
t.fork = true 
t.profile = 'default' 
t.rcov = true 
t.rcov_opts = %w{--rails --aggregate coverage.data --exclude osx\/objc,gems\/,spec\/,\.bundler\/,features\/} 
end 
관련 문제