Sha256: 5d622651e4fdf3e1321a4c15f4a110caa863ebe69623d7899c114da479cc23b8
Contents?: true
Size: 871 Bytes
Versions: 8
Compression:
Stored size: 871 Bytes
Contents
#!/usr/bin/env rake require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'cucumber/rake/task' require 'yard' RSpec::Core::RakeTask.new do |c| options = ["--color"] options += ["--format", "documentation"] options += ["--format", "nested", "--out output/rspec-report.txt"] options += ["--format", "html", "--out output/rspec-report.html"] c.rspec_opts = options end desc "Generate API documentation" YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb'] t.options = ['--title', 'Symbiont'] end namespace :spec do desc "Get code coverage for spec execution" RSpec::Core::RakeTask.new('cov') do |c| ENV['COVERAGE'] = "on" end end namespace :specs do Cucumber::Rake::Task.new(:watir, "Run Cucumber with Watir") do |config| config.profile = 'default' end end task :default => :spec
Version data entries
8 entries across 8 versions & 1 rubygems