Sha256: c0498b7b911d91a0b4792e19572e5dc7dc0c2c012938988beeeb97860b9c0d89

Contents?: true

Size: 873 Bytes

Versions: 34

Compression:

Stored size: 873 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'debugger'
require 'rake/testtask'

namespace :test do

  Rake::TestTask.new(:units) do |t|
    t.libs << "test"
    t.test_files = FileList['test/unit/**/test*.rb']
  end

  Rake::TestTask.new(:functional) do |t|
    t.libs << "test"
    t.test_files = FileList['test/functional/**/test*.rb']
  end

  Rake::TestTask.new(:integration) do |t|
    t.libs << "test"
    t.test_files = FileList['test/integration/**/test*.rb']
  end

  task :test do
    Rake::Task['test:units'].execute
    Rake::Task['test:integration'].execute
    Rake::Task['test:functional'].execute unless ENV['TRAVIS']
  end

  task default: :test

end

task :default => 'test:default'

Rake::Task["test:functional"].enhance do
  warn "Remember there are still some VMs running, kill them with `vagrant halt` if you are finished using them."
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
sshkit-1.2.0 Rakefile
sshkit-1.1.0 Rakefile
sshkit-1.0.0 Rakefile
sshkit-0.0.34 Rakefile
sshkit-0.0.33 Rakefile
sshkit-0.0.32 Rakefile
sshkit-0.0.31 Rakefile
sshkit-0.0.29 Rakefile
sshkit-0.0.28 Rakefile
sshkit-0.0.27 Rakefile
sshkit-0.0.26 Rakefile
sshkit-0.0.25 Rakefile
sshkit-0.0.24 Rakefile
sshkit-0.0.23 Rakefile
sshkit-0.0.22 Rakefile
sshkit-0.0.21 Rakefile
sshkit-0.0.19 Rakefile
sshkit-0.0.18 Rakefile
sshkit-0.0.16 Rakefile
sshkit-0.0.15 Rakefile