Skip to content

Instantly share code, notes, and snippets.

@pinzolo
Last active October 30, 2015 10:36
Test my original gem by test-unit
require 'bundler/gem_tasks'
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << 'test'
t.test_files = FileList['test/my_gem/*_test.rb']
t.verbose = true
end
task default: :test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment