Skip to content

Instantly share code, notes, and snippets.

@victory-sokolov
Created April 15, 2022 09:27
Show Gist options
  • Save victory-sokolov/ac9c52e775794990d047638b54711a90 to your computer and use it in GitHub Desktop.
Save victory-sokolov/ac9c52e775794990d047638b54711a90 to your computer and use it in GitHub Desktop.
Run all Ruby tests in a test directory

Run all tests in directory

ruby -Itest tests/tests.rb
Dir[File.dirname(File.absolute_path(__FILE__)) + '/**/test_*.rb'].each {|file| require file }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment