Sha256: ea2cc726a1c4dd048df84c3217e6262c56a985178d5d22b30a16fbc5499af252

Contents?: true

Size: 698 Bytes

Versions: 1

Compression:

Stored size: 698 Bytes

Contents

require 'rake/testtask'
require 'bundler'
require 'bundler/gem_tasks'

Bundler::GemHelper.install_tasks

Rake::TestTask.new('unit') do |t|
  t.libs << 'lib'
  t.libs << 'spec'
  t.test_files = FileList['spec/unit/**/*_spec.rb']
  t.verbose = true
end

Rake::TestTask.new('integration') do |t|
  t.libs << 'lib'
  t.libs << 'spec'
  t.test_files = FileList['spec/integration/**/*_spec.rb']
  t.verbose = true
  end

Rake::TestTask.new('dev') do |t|
  t.libs << 'lib'
  t.libs << 'spec'
  t.test_files = FileList[
    'spec/test_helper.rb',
    'spec/integration/lhm_spec.rb'
  #  Add file to test individually
  ]
  t.verbose = true
end

task :specs => [:unit, :integration]
task :default => :specs

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lhm-shopify-3.5.1 Rakefile