I am trying to get a customized rcov rake task working. What I have so
far looks like this:
desc “Rcov code coverage reports”
task :rcov => “rcov:all”
namespace :rcov do
task :rcov => “rcov:cucumber”
Cucumber::Rake::Task.new(:cucumber) do |t|
Spec::Rake::SpecTask.new(:rspec) do |t
Rcov::RcovTask.new(:testunit) do |t|
Now, rake rcov:cucumber runs the cucumber rcov task as expected.
However, both rake rcov and rake rcov:all run rake rcov:testunit. I
cannot fathom why. Can someone explain this to me?