Sha256: 016865eee18ada6d1cbbd4064156714ebb7c43db54c0b70b82cb9cb105f6e5e1

Contents?: true

Size: 791 Bytes

Versions: 5

Compression:

Stored size: 791 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:all]

task default: :spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_stt-0.4.0 Rakefile
azure_stt-0.3.0 Rakefile
azure_stt-0.2.0 Rakefile
azure_stt-0.1.1 Rakefile
azure_stt-0.1.0 Rakefile