ruby / test
05-Dec-2025 634
I use a custom test framework for Ruby. My goals are:
Fast: startup and runtime
Simple: one assertion method
Flexible: plain Ruby, easy to extend
Debuggable: small codebase, easy to understand
Features: stubs, db transactions, db factories, etc.
It has ~250 lines of code that are included at the end of this article.
ruby / test #ruby #rubydeveloper #rubyonrails # #test https://www.rubyonrails.ba/link/ruby-test