Sha256: c68c4715c344000546683a07c52e511d68c22fa29c34a9b0c5562c3ce7d13d1a
Contents?: true
Size: 942 Bytes
Versions: 2
Compression:
Stored size: 942 Bytes
Contents
require 'bundler/setup' require 'bundler/gem_tasks' require 'bump/tasks' desc 'Default: run unit tests.' task :default => :test # Test TEST_FILES = FileList.new('test/*_{test,spec}.rb') desc "Run all tests" task :test do TEST_FILES.each do |test_file| sh "bundle", "exec", "rake", "test:isolated", "TEST=#{test_file}" end end require 'rake/testtask' Rake::TestTask.new(:"test:isolated") do |test| test.test_files = TEST_FILES test.libs << 'test' test.verbose = true end # RDoc require 'rdoc/task' RDoc::Task.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'mintest-around' rdoc.main = 'README.md' rdoc.rdoc_files.include('README.md', 'LICENSE', 'lib/**/*.rb') rdoc.options << "--all" rdoc.options << "--markup markdown" end # Examples EXAMPLES = FileList["examples/*.rb"] desc "Run all examples" task :"test:examples" do EXAMPLES.each do |example| sh "bundle", "exec", "ruby", example end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
minitest-around-0.3.0 | Rakefile |
minitest-around-0.2.0 | Rakefile |