Announcing a product of my frustration December 3rd, 2007
I get tired of writing tests sometimes. Not because I find it boring, or that I find it unproductive. I usually enjoy the regular test-fix-testsomemore cycle. What gets me down is when I feel like I'm the only person writing tests on a project.
So I wrote a plugin to tell me.
You can check out the plugin, or just ./script/plugin install https://kablame.googlecode.com/svn/kablame
It allows you to check how many lines each contributor has added to tests or specs, according to git or svn blames.
Here is the most recent set of results from our company. Names have been changed to protect the guilty.
**WINNER** ben **WINNER**
ben ==> 2784
jacob ==> 1800
austin ==> 1475
no_longer_here ==> 786
no_longer_here ==> 453
our_team ==> 157
performance ==> 148
architect ==> 135
our_team ==> 74
our_team ==> 52
our_team ==> 45
our_team ==> 29
search_team ==> 25
some_test_hater ==> 3
**LOSER** some_test_hater **LOSER**
So a quick review of our test code? We have three people who have produced the vast majority of tests. After that, there are a couple of users who don't even work here any more, the project architect and a performance architect. Then we've got the bulk of the development team.
Then... Way down at the bottom. There's some guy who has written THREE LINES OF TEST CODE.
If that's not a punchline, I don't know what is.
7 Responses to “Announcing a product of my frustration”
Sorry, comments are closed for this article.
December 4th, 2007 at 03:40 AM I fucking rule
December 4th, 2007 at 03:40 AM You are the third best at ruling, according to my plugin.
December 4th, 2007 at 06:47 AM Last place guy stole those 3 lines from me. I swear.
December 4th, 2007 at 06:59 AM But if you took those lines away, he wouldn't be the loser any more.
December 4th, 2007 at 07:54 AM feature request: kablame for perforce, + command line mode that works for non-rails projects. Get on it!
December 12th, 2007 at 01:55 PM Names would make things so much more interesting... or at least end my wondering if I'm "3 lines guy".
December 17th, 2007 at 09:29 AM Just rake kablame:svn:tests and answer that question!