search for: rcovtask

Displaying 6 results from an estimated 6 matches for "rcovtask".

Did you mean: crontask
2009 Feb 03
3
Rcov - Specifying rake tasks
I am trying to get a customized rcov rake task working. What I have so far looks like this: desc "Rcov code coverage reports" require ''rcov/rcovtask'' require ''spec/rake/spectask'' require ''cucumber/rake/task'' task :rcov => "rcov:all" namespace :rcov do Rcov::RcovTask.new(:all) do task :rcov => "rcov:cucumber" end Cucumber::Rake::Task.new(:cucumber) do |t|...
2007 Aug 10
3
Using rcov and ouput to screen
I''d like to output my rcov data to the screen in ascii instead of html...is that possible using the rake spec:rcov command? Also, is there somewhere that will allow me to search the mail archives...I''m pretty sure someone else has asked similar questions. Thanks for the help. Mike B. ---------------------------------------------------------------- This message was sent
2006 Sep 26
0
Code coverage of a rails plugin
...ying to add a rake task that will generate coverage information for the shared_models, but I can''t get this to work properly. rcov keeps on spitting out coverage information for the application housing the plugin. <vendor/plugins/shared_models/tasks/rcov.rake> require ''rcov/rcovtask'' namespace :shared_models do namespace :test do Rcov::RcovTask.new(:coverage) do |t| t.libs << "#{File.dirname(__FILE__)}/../test" t.test_files = FileList["#{File.dirname(__FILE__)}/../test/*.rb", "#{File.dirname(__FILE__)}/../test/unit/*_...
2007 Aug 10
0
(no subject)
Scott said: >> I''d like to output my rcov data to the screen in ascii instead of >> html...is that possible using the rake spec:rcov command? > Look at the RSpec gem''s rdoc. I believe it is something like > Rake::RcovTask. An option can be provided to give rcov options. Run > rcov --help. This told me I needed the -T option to get what I wanted. Just to give a little more detail, I had to modify this file: vendor/plugins/rspec_on_rails/tasks/rspec.rake and in this section of code: desc "Run all s...
2009 Feb 02
12
[RSpec] rcov and/or rexml bug?
Hi, Running: Ruby 1.8.7 p72, RSpec 1.1.12 and rcov 0.8.1.2.0, I get the following error message with $ rake spec:rcov -- /usr/local/ruby1.8.7//lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `[]'': no implicit conversion from nil to integer (TypeError) from /usr/local/ruby1.8.7//lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `wrap'' from
2008 Jan 14
6
RSpec stories introduction
I have played a bit with RSpec specs and now want to check out stories. I note that there is no generator for rspec stories pre se (unless I managed to miss all references to one ) and that the only directory relating to stories added by installing rspec is ./stories itself. The documentation at rspec.info seems to presume a great deal of prior knowledge. What I am looking for is a guided tour