How I Think About Tests: Skips | Rails at Scale
19-Jun-2026 11
If you’ve ever written a test for your code, you’re probably familiar with typical test framework methods: test/it to define test cases, and assert/expect to make assertions about the behavior of your code.
However, I want to highlight a less commonly used method: in other languages or frameworks it goes by other names, but in Ruby’s minitest it’s called skip. In this post, I’ll cover what skip does, when it may be useful, and, most importantly, when you should probably use something else.
How I Think About Tests: Skips | Rails at Scale #ruby #rubydeveloper #rubyonrails #Think #About #Tests: #Skips #Rails #Scale #tests: https://www.rubyonrails.ba/link/how-i-think-about-tests-skips-rails-at-scale