File: Rakefile

package info (click to toggle)
ruby-spring 2.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 428 kB
  • sloc: ruby: 3,373; sh: 9; makefile: 7
file content (21 lines) | stat: -rw-r--r-- 444 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require "bundler/setup"
require "bundler/gem_tasks"
require "rake/testtask"
require "bump/tasks"

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

  Rake::TestTask.new(:acceptance) do |t|
    t.test_files = FileList["test/acceptance_test.rb"]
    t.verbose = true
  end

  desc 'run all tests'
  task all: [:unit, :acceptance]
end

task default: 'test:all'