Dunno if there are any rubyists around, but recently open sourced a library to bring inline snapshot testing to ruby and rspec. How does one safely self-modify ruby code, you might be wondering? Turns out rubocop is already really good at that 😬
https://rubygems.org/gems/rspec-inline-snapshot
#ruby #opensource #code #testing #rspec #rubygems #gems #rubocop