Sha256: 206e0ca7057ee9397d4cf19620ca783426cac4344b1fcc19fbcb8b3fe1e2f099
Contents?: true
Size: 1.2 KB
Versions: 4
Compression:
Stored size: 1.2 KB
Contents
require 'rubygems' require 'bundler' require 'bundler/setup' Bundler::GemHelper.install_tasks # Cucumber tasks require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) do |features| features.cucumber_opts = "features --tags ~@wip --format progress" end namespace :features do Cucumber::Rake::Task.new(:pretty, "Run Cucumber features with output in pretty format") do |features| features.cucumber_opts = "features --tags ~@wip --format pretty" end Cucumber::Rake::Task.new(:wip, "Run @wip (Work In Progress) Cucumber features") do |features| features.cucumber_opts = "features --tags @wip --format progress" end end # Yardoc tasks require 'yard' YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb', '-', 'CHANGELOG', 'LICENSE'] t.options = ['--no-private', '--title', 'BDDGen API Documentation'] end # Rake tasks require 'rspec/core/rake_task' desc "Run specs" RSpec::Core::RakeTask.new(:spec) do |t| t.rspec_opts = %w(--color) end namespace :spec do desc "Run specs with output in documentation format" RSpec::Core::RakeTask.new(:doc) do |t| t.rspec_opts = ["--color", "--format d"] end end # Default is to run all specs and features task :default => [:spec, :features]
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bddgen-0.3.0 | Rakefile |
bddgen-0.2.1 | Rakefile |
bddgen-0.2.0 | Rakefile |
bddgen-0.1.0 | Rakefile |