The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Let Me Test Your Rails/Ruby App

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Amos King

Posts: 78
Nickname: adkron
Registered: Jan, 2007

Amos King is a Web Developer for the US Postal Service and for Ramped Media.
Let Me Test Your Rails/Ruby App Posted: Jan 14, 2009 5:25 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Amos King.
Original Post: Let Me Test Your Rails/Ruby App
Feed Title: DirtyInformation
Feed URL: http://feeds.feedburner.com/Dirtyinformation
Feed Description: Information about Ruby/Rails/JRuby/WebDevelpoment/whatever.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Amos King
Latest Posts From DirtyInformation

Advertisement

I'm going to be doing some writing for a few magazines and I would like to write tests for you. If you have a part of your app that is particularly hard to test and you would like some help, send me the whole app or just the parts that are pertinent.

I know what you might be thinking, "Who does this guy think he is?" I'm a full time Rails developer on an application that must support Oracle and MySql. I also must interact with a Java side and a ten year old database. Here is the read out from 'rake stats' and 'time rake test.'

Unit tests: 1965 tests, 4358 assertions, 0 failures, 0 errors
Functional tests: 705 tests, 2567 assertions, 0 failures, 0 errors
Integration tests: 202 tests, 303 assertions, 0 failures, 0 errors
real	2m58.057s
user	2m13.305s
sys	0m12.093s

+----------------------+-------+-------+---------+---------+-----+-------+
| Name                 | Lines |   LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers          |  4361 |  3711 |      69 |     379 |   5 |     7 |
| Helpers              |  1025 |   852 |       0 |     127 |   0 |     4 |
| Models               |  4301 |  3490 |      87 |     460 |   5 |     5 |
| Libraries            |  7294 |  5192 |      78 |     483 |   6 |     8 |
| Integration tests    |  2004 |  1741 |      24 |      20 |   0 |    85 |
| Functional tests     |  7855 |  5878 |      97 |     564 |   5 |     8 |
| Unit tests           |  9356 |  7283 |     108 |     673 |   6 |     8 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total                | 36196 | 28147 |     463 |    2706 |   5 |     8 |
+----------------------+-------+-------+---------+---------+-----+-------+
  Code LOC: 13245     Test LOC: 14902     Code to Test Ratio: 1:1.1

You can hit me up on Twitter or email at gmail to amos.l.king.

Read: Let Me Test Your Rails/Ruby App

Topic: Can YOU help RubyLearning win this award? Previous Topic   Next Topic Topic: Links for 2009-01-13 [del.icio.us]

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use