I ran into some issues with the test suite when I was trying to work on new features. So I decided to do a refactor first
Should be 100% backwards compatible (TM).
Use test helper.
Remove monkey patching of Banchmark module.
Refactor library and test suite.
- Refactor write method into three different methods with a single responsibility.
- Allow StatsD instrumentation to be removed.
- No more leaky tests, by removing instrumentation and proper stubbing
Simplify live tests by removing Thread
Nice refactor. LGTM 🚢
Failing test is a rubygems issue on 1.8.7, and will be fixed in the next rubygems release.