similar to: Code coverage of a rails plugin

Displaying 20 results from an estimated 1000 matches similar to: "Code coverage of a rails plugin"

2006 Jul 17
5
Functional Tests misbehaving with Globalize
Howdy all Apologies to the folks subscribed to the globalize list for dual posting this message... I''ve got a project running globalize and rails 1.1.4, and I''ve only recently adopted a strong love for testing. Now my models are 100% tested (I must note that I do not make use of any translations in the database yet), and I''ve now started with functional tests before
2005 Aug 05
2
Postfix 2.2.x RPM ETA
Guys I'm desperately looking for a postfix 2.2.x SRPM. I currently use 2.1.5.. I've found these, http://ftp.wl0.org/yum/postfix/2.2/rhel4/SRPMS.postfix/ Has anyone tried them, or can anyone recommend a proper SRPM for me for Centos 4.1? Kind regards -- Kenneth Kalmer kenneth.kalmer at gmail.com Folding at home stats
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 Jun 24
0
Two quick questions (future & windows)
Howdy all First off, thanks to Ezra & skaar (and all the other contributors) for the plugin. It''s been a great help the last couple of days. 1. I explored the trac site, and saw that commits recently have been few and far between. Is the project on the way down or is it a lack of time and resources? (Between the lines, is the next release gonna happen and will patches still be
2006 Feb 15
0
Closed ports and traffic shaping
First off, please excuse the cross post between lartc and netfiler, the line between the two is very blurred here (at least for me)... A thought just crossed my mind now while working on a new iptables/tc collaboration for a project. I use iptables to basically seal off a linux gateway, we''re very restrictive on what users can do on the connection. For now I''m using destination
2005 Oct 10
1
Prioritize ACK packets
Guys I''m a bit rusty and in a hurry, can anyone share with me how to prioritze TCP/ACK packets on an outgoing interface... I need these acknowledgements to get through on a congested DSL link... Thanks in advance! -- Kenneth Kalmer kenneth.kalmer@gmail.com Folding@home stats http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&username=kenneth%2Ekalmer
2005 Oct 26
0
Explenation of WRR parameters
Guys Oppologies for the cross post. I''ve been scouring the docs coming with the wrr patches and for the life of me I can''t figure out why there are 8 parameters for each class. <snip> weight1, min1, decr1, incr1, weight2, min2, decr2, incr2 </snip> According to the docs these parameters are handled the same way, but looking at the example scripts there are
2006 May 23
4
Shaping of pppoe clients
Guys After reading through the archives I found some insightful ways to be able to shape traffic to pppoe clients from the server. I have two questions on the topic of setting up a pppoe server however... 1. The clients will all be connected to each other using a normal ethernet network, the segments connected with managed switches. The capacity is roughly 500 nodes. Will these pppoe sessions
2005 Jul 26
4
wrr vs. htb
Guys I''m looking for some advice on the following situation: We''re serving a residential complex with internet, the network has grown and with it has the problems, below is a descriptive layout of our current setup: Connection: ADSL Down/Up speed: 512kbps/256kbps (1024kbps/256kbps in the near future) 2.0GHz Celeron D with 512MB RAM Current users: 140 Maximum amount of users:
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.
2006 Jan 30
2
Suggestions for a new shaper
Guys Reading through my lartc mail, and thinking on how to tackle my next shaping solution, gave me an idea. I''d like to propose this idea for scrutiny and if it sounds viable I''ll definitely need to start developing in due time. For me in my day to day work with developing network application specifically geared for middle-tier ISP''s, and reading on other peoples
2005 Dec 05
13
Theory test
Guys Considering the festive season is upon us, thanks to everyone contributing to the list and helping all the readers with your great input! I don''t want to mention names, I''ll most certainly leave someone out. With this mail I''d like to test some theory on bandwidth management, with my own successes and failures during the past year. Sharing a link between 200
2006 Mar 16
1
Re: rcov 0.2.0 - code coverage tool for Ruby
On 3/14/06, David Holroyd <ruby-talk@badgers-in-foil.co.uk> wrote: > On Wed, Mar 15, 2006 at 02:23:04AM +0900, Mauricio Fernandez wrote: > > On Tue, Mar 14, 2006 at 09:27:14AM +0900, David Holroyd wrote: > > > On Wed, Mar 01, 2006 at 01:31:11AM +0900, Mauricio Fernandez wrote: > > > > Source code, additional information, screenshots... available at > >
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
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 May 24
0
[tip] Test coverage
I was using rcov[1] on my tests and was pleasantly surprised to see that much of my code was being exercised, but somehow the number of lines of test code did not sync up with what I expected so I went looking for models and controllers that were missing unit and functional tests. Here is a rake task you can dump into your Rakefile or /lib/tasks. You can then run: rake missing_tests and it will
2007 Jun 03
0
How to check code coverage with rcov running under CC.rb
http://nullcreations.net/entry/enforcing-spec-coverage-with-cruisecontrol-rcov-and-rspec
2014 Mar 05
1
[PATCH] Code coverage support proof of concept
Hello, I submit a patch for review that implements code coverage tracing in the R interpreter. It records the lines that are actually executed and their associated frequency for which srcref information is available. I perfectly understands that this patch will not make its way inside R as it is, that they are many concerns of stability, compatibility, maintenance and so on. I would like to have
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
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