Sha256: 5e1c8ca654336c3ba3f2378093c7a19e1dcd6555628eabce3524aa2eafed2908

Contents?: true

Size: 453 Bytes

Versions: 4

Compression:

Stored size: 453 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.ruby_opts += ["-w"]
  end

  Rake::TestTask.new(:end_to_end) do |t|
    t.libs = ['lib']
    t.test_files = FileList['test/end_to_end/*_test.rb']
    t.ruby_opts += ["-w"]
  end

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

end

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

task :default => :test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ripper_ruby_parser-0.0.4 Rakefile
ripper_ruby_parser-0.0.3 Rakefile
ripper_ruby_parser-0.0.2 Rakefile
ripper_ruby_parser-0.0.1 Rakefile