Sha256: 857a56b407ef816a7c39dbe21d16d25974332e9d6cdab12484329bc440607a21

Contents?: true

Size: 666 Bytes

Versions: 3

Compression:

Stored size: 666 Bytes

Contents

require 'bundler/gem_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(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'mintest-around'
  rdoc.main     = 'README.rdoc'
  rdoc.rdoc_files.include('README.rdoc', 'LICENSE', 'lib/**/*.rb')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minitest-around-0.0.4 Rakefile
minitest-around-0.0.4.pre Rakefile
minitest-around-0.1.0.pre2 Rakefile