similar to: RCov results seem to include the spec files

Displaying 20 results from an estimated 2000 matches similar to: "RCov results seem to include the spec files"

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
2008 Jul 09
2
Can I get RSpec NOT to abort rake on failing specs?
At work we''ve got a rather complex app with both specs and tests. Our default rake task runs all our our tests and specs. We''ve also got separate rake tasks to run groups of tests and specs in the various subdirectories. The default task simply lists all the individual tasks as pre-reqs. We do a lot of branching and merging, so we really want to run all of the tests and specs
2007 Jan 05
6
RSpec 0.7.5 with Rails and rcov
I seem to be missing something because I am at a loss on how to get rcov, RSpec, and Rails working together. Would someone mind dropping some hints?
2008 Mar 17
10
RSpec and RCov with JRuby
Hi, I am using JRuby (trunk) and wrote a bunch of specifications for my code. Everything works fine so far. Now I am trying to integrate RCov in my test run. I have installed RCov without the C extensions. I tried it with a simple script and it worked (pretty slow, but it doesn?t matter). But when I add the rcov options to my Rake task, RCov is not invoke properly! Rakefile:
2008 May 27
4
Failing rspec story not causing a CruiseControl.rb build to fail?
We''ve just added rspec stories to our CruiseControl.rb build. When there''s a failing scenario we see the failure in the log output, but it doesn''t cause the CruiseControl build to fail. We''ve also just upgraded to the latest rspec version, 1.1.4, which fixes rspec bug 228, but the CC.rb build is still passing. Has anyone got failing rspec stories making
2007 May 17
0
strange results when using rcov with rspec
I have some specs tucked away inside my vendor/plugins directory that I want to run when I run rake spec. I''ve got the rake task working just fine, but for some reason rcov seems to choke when I try to tweak the included/excluded files to ignore any files in app/ but to include files in vendor/plugins/ plugin/app/** The error I get is this: No file to analyze was found. All the
2008 Dec 04
2
Cucumber and Rcov
I am now trying to get rcov to work for me, without much success. I stole the rake task code from the 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|
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 =>
2007 Sep 04
7
Rake tasks getting in the way of edge (uses gem instead)
So I''d been running gem releases of rspec for the past several months, and I installed edge rspec so that I can use Story Runner. I''m running into a problem because I''ve got a couple rake tasks that reference "spec/rake/raketask". If I try to run "rake spec" then it pulls in the gem version instead of the plugin version. rake blows up saying that
2007 May 03
7
before method
Would it be desirable to have before and after take a spec name as well as :each and :all? Scott
2007 Sep 24
3
rcov including ruby lib
When I run spec:rcov on my continuous integration server, the rcov report is including many other libraries in the report, including some from standard lib and gems. Has anyone else had this problem or have any ideas for how to limit it just to coverage of code in app/ and lib/? Thanks, Brandon -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig
2008 Sep 14
2
rake spec:rcov => [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32]
i have a rails app that tests fine with "rake spec" but gets a segmentation fault when "rake spec:rcov" is run. i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5 my app is at http://github.com/scottnj/test_blog/tree/master so maybe someone can try to replicate my error so i know if the problem is with my code or something installed on my pc. here is a copy of my shell
2007 Apr 13
21
ZenTest autotest now handles RSpec, yay!
Josh Knowles http://joshknowles.com/ just let me know that ZenTest Autotest 3.50 now handles your RSpec specs. http://blog.zenspider.com/archives/2007/04/zentest_version_350_has_been_released.html That''s a great news. Josh also shared with me a quick hack to make autotest work with only the RSpec plugin installed. Add the following into your ~/.autotest file
2007 Jun 15
1
Problems with RCov and Rails
Hey list, I''m trying to use the rcov integration that rspec provides in my Rails application. As per the documentation on the website, I''ve created the following rake task: lib/tasks/specs_with_rcov.rake: require ''spec/rake/spectask'' desc "Run all specs with rcov" Spec::Rake::SpecTask.new(''specs_with_rcov'') do |t| t.rcov = true
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.
2009 Apr 22
1
Tests for my gem cannot find classes in gems lib directory ..
I am writing a gem and using RSpec to drive my development. However, whenever I describe a class within the gems lib I get an uninitialized constant error. I am placing my folder structure, spec.rake and first spec below. I feel I must be missing something obvious. Additionally, I did output the value of f in lib inclusion code and it is traversing the lib folder correctly and I can
2011 Apr 23
1
rake spec fails where rake spec:(models|controllers|views) pass
I''m still trying to work into Ruby 1.9.2 and am now experiencing something that makes no sense to me. Using rspec 1.3.2 and rspec-rails 1.3.4 with rails 2.3.11 on ruby 1.9.2-p180, when I $ rake spec:models they all pass. When I $ rake spec:controllers they all pass. When I $ rake spec:views they all pass. But when I $ rake spec I get <path to
2007 May 10
1
RSpec 0.9.4
RSpec 0.9.4 has just been released. Gems haven''t rsync''ed around the globe yet, so you might have to wait a few hours to install it. The big news this time is Spec::Ui 0.2.0, which has been released along with RSpec core. This RSpec extension gives you custom Watir matchers (custom Selenium-RC matchers are not implemented yet). Moreover, it comes with a custom KICK ASS formatter
2007 Jul 26
3
Canonical way to generate RSpec HTML report in Rails app
Hi! I was just wondering how you typically generate a spec HTML report in a Rails app. Currently I''m doing something like this: spec spec -f h:spec/spec_report.html But that seems sort of clumsy and I would have thought that there was a rake task for it. Have I overlooked something? Thanks! Peter ---------------------------- Peter Marklund Garvar Lundins Gr?nd 7 11220 Stockholm
2007 Oct 27
3
rake spec:rcov failing
Running rails 1.2.3, rcov (0.8.0.2), rspec trunk (2865) - When running rake spec:rcov, I''m getting the following: Finished in 245.717813 seconds 856 examples, 0 failures, 48 pending /usr/local/lib/ruby/1.8/rexml/text.rb:292:in `normalize'': private method `gsub'' called for 0:Fixnum (NoMethodError) from /usr/local/lib/ruby/1.8/rexml/element.rb:1084:in