From: "ara.t.howard" Date: 2009-03-30T09:42:20+09:00 Subject: Re: testy.rb - ruby testing that's mad at the world On Mar 29, 2009, at 6:09 PM, Phlip wrote: > I incredibly don't understand that. Our apps are big by Rails > standards, yet our test:code ratio is only 2.5:1. That's mostly > because we can't "refactor" the tests too much, or they are hard to > read. i'm not talking about code to test ratios, but code to test *framework* ratios. of course these numbers are a little bit high (whitespace, comments, etc) but cfp:/opt/local/lib/ruby/gems/1.8/gems > for gem in thoughtbot-* rspec* faker* mocha*;do echo $gem;find $gem/lib -type f|grep .rb|xargs -n1 cat|wc -l;done thoughtbot-factory_girl-1.2.0 937 thoughtbot-shoulda-2.9.1 3854 rspec-1.1.12 8773 rspec-1.1.3 7785 rspec-1.1.4 8083 faker-0.3.1 299 mocha-0.9.5 3294 most people would consider an 8000 line rails app 'large'. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama