Town Tester - How well does your city unit test?
steele.blue·689w
Preview
Report Post

Sep 18, 2012

In my talk Zen and the Art of TDD, I included a slide that showed only 43% of all Github repositories from Omaha developers included unit tests:

Languages

Today I’m releasing the code I used to obtain this data: a script called Town Tester.

View town-tester on Github

It’s a Ruby script that queries the Github API to do the following tasks:

  • Find users with their Location set to the value you provide
  • Clones all “popular” repos (not a dotfiles project, at least 1 watcher, not a fork)
  • Checks for the existence of tests (based on a filename that includes “test” or “spec”)
  • Creates a .csv with data on each repo, and prints statistic…

Similar Posts

Loading similar posts...