Sha256: 9256348ecac606807bb91a6dca7288d7240dbdbfbcd6b9b9da495f02c6c3dbec
Contents?: true
Size: 787 Bytes
Versions: 2
Compression:
Stored size: 787 Bytes
Contents
# frozen_string_literal: true require 'rspec/core/rake_task' desc 'Run RSpec code examples (unit & integration tests, needs live instance)' RSpec::Core::RakeTask.new('spec:all') do |task| task.pattern = './spec/**/*_spec.rb' task.rspec_opts = '-O .rspec-no-tags' end desc 'Run RSpec code examples (unit tests only)' RSpec::Core::RakeTask.new(:spec) do |task| task.pattern = './spec/**/*_spec.rb' task.exclude_pattern = './spec/integration/**/*_spec.rb' task.rspec_opts = '-O .rspec' end desc 'Run RSpec code examples (integration tests only, needs live instance)' RSpec::Core::RakeTask.new('spec:integration') do |task| task.pattern = './spec/**/*_spec.rb' task.rspec_opts = '-O .rspec --tag integration' end desc 'Run CI tests' task ci: %i[spec] task default: :spec
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yt_dlp-0.2.0 | Rakefile |
yt_dlp-0.1.1 | Rakefile |