Announcing a product of my frustration

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.