Sha256: be5294504b5575d48b897deae52097d0367faec9a5343e64ad200daf518a3673

Contents?: true

Size: 683 Bytes

Versions: 1

Compression:

Stored size: 683 Bytes

Contents

require 'rubygems'
require 'appium_thor'

Appium::Thor::Config.set do
  gem_name 'rspec_junit'
  github_owner 'bootstraponline'
end

# Must use '::' otherwise Default will point to Thor::Sandbox::Default
# Debug by calling Thor::Base.subclass_files via Pry
#
# https://github.com/erikhuda/thor/issues/484
#
# rubocop:disable Style/ClassAndModuleChildren
class ::Default < Thor
  desc 'spec', 'Run RSpec tests'
  def spec
    exec 'bundle exec rspec spec'
  end

  desc 'cuke', 'Run cucumber tests'
  def cuke
    exec 'bundle exec cucumber -f progress'
  end

  # so many errors.
  desc 'cop', 'Execute rubocop'
  def cop
    exec 'bundle exec rubocop --display-cop-names'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec_junit-3.0.2 Thorfile