Sha256: 81524c3037aa1fe90b9937151ff8f3f9820fe588248c1ec150ed52bd0b5261be

Contents?: true

Size: 591 Bytes

Versions: 2

Compression:

Stored size: 591 Bytes

Contents

require 'rake/testtask'

namespace :test do

  Rake::TestTask.new(:unit) do |t|
    t.libs = ['lib']
    t.test_files = FileList['test/unit/*_test.rb']
    t.warning = true
  end

  Rake::TestTask.new(:end_to_end) do |t|
    t.libs = ['lib']
    t.test_files = FileList['test/end_to_end/*_test.rb']
    t.warning = true
  end

  Rake::TestTask.new(:pt_testcase) do |t|
    t.libs = ['lib']
    t.test_files = FileList['test/pt_testcase/*_test.rb']
    t.warning = true
  end

  task :run => [:unit, :end_to_end]
end

desc 'Alias to test:run'
task :test => 'test:run'

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ripper_ruby_parser-0.0.8 Rakefile
ripper_ruby_parser-0.0.7 Rakefile