Sha256: 3417396a0df758b86a587334a81574d6754e6ae0019e2deecd2f29d78603b8bd

Contents?: true

Size: 596 Bytes

Versions: 2

Compression:

Stored size: 596 Bytes

Contents

require "bundler/gem_tasks"
require 'rake/testtask'
require 'cucumber/rake/task'


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

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

  Cucumber::Rake::Task.new(:feature) do |t|
    t.cucumber_opts = "features --format pretty"
  end
end

task :default do
  Rake::Task['test:unit'].invoke
  # Rake::Task['test:spec'].invoke
  Rake::Task['test:feature'].invoke
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rack-blogengine-0.2.3 Rakefile
rack-blogengine-0.2.2 Rakefile