Sha256: b8cedd6b040b5a688044c37d8bbfd983943a7f601698613fa7194e52729c8d67
Contents?: true
Size: 1.02 KB
Versions: 6
Compression:
Stored size: 1.02 KB
Contents
require "bundler" Bundler.setup(:default, :development) require 'cucumber/rake/task' require 'rspec/core/rake_task' task :default => ['rake:spec', 'rake:features'] desc "Clones the Test Repository" task :repo do |t| FileUtils.cd(File.join(File.dirname(__FILE__), "repos")) do puts `git clone git://github.com/atmos/hancock-client.git test` end end desc "Runs the Cucumber Feature Suite" Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = ["--format pretty", "features"] end namespace :features do desc "Runs the `@current` feature(s) or scenario(s)" Cucumber::Rake::Task.new(:current) do |c| c.cucumber_opts = ["--format pretty", "-t current", "features"] end end desc "Runs the RSpec Test Suite" RSpec::Core::RakeTask.new(:spec) do |r| r.pattern = 'spec/*_spec.rb' r.rspec_opts = ['--color'] end namespace :spec do desc "RSpec Test Suite with pretty output" RSpec::Core::RakeTask.new(:long) do |r| r.pattern = 'spec/*_spec.rb' r.rspec_opts = ['--color', '--format documentation'] end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
ginatra-2.3.0 | Rakefile |
ginatra-2.2.7 | Rakefile |
ginatra-2.2.6 | Rakefile |
ginatra-2.2.5 | Rakefile |
ginatra-2.2.4 | Rakefile |
ginatra-2.2.3 | Rakefile |