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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help