Skip to content

Commit de4ed16

Browse files
committed
Add bin/test script for running tests with m gem
1 parent 9d1268f commit de4ed16

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

bin/test

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env ruby
2+
3+
require "bundler/setup"
4+
5+
if ARGV.empty?
6+
# Run all tests when no arguments provided
7+
exec("bundle", "exec", "rake", "test")
8+
else
9+
# Use m gem for specific tests
10+
exec("bundle", "exec", "m", *ARGV)
11+
end

0 commit comments

Comments
 (0)