Sha256: 309db6786acdb392d834f3f66d89d5b023426e1416680dbbe7a844f96639538c

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 Bytes

Contents

require 'rake/testtask'

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

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

desc 'run unit and integration tests'
task test: ['test:unit', 'test:integration']

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gir_ffi-tracker-0.14.0 tasks/test.rake