The author shares their positive experience with test-driven development (TDD) after a few months, noting improvements in code quality and simplicity. They demonstrate how to effectively test optional dependencies in Ruby using RSpec’s hide_const helper, which simplifies testing by temporarily removing constants. The post concludes with reflections on writing shorter articles.
RSpec is honestly the best testing framework I have ever worked with, and I dread the day I will to switch to a language that
I had to solve an interesting performance issue today, so I thought I might as well document it for the posterity. It involved fixing an