Sha256: 41c4da88c5fd3b806d855d4f84528cba7d9284b8fb05ff92a81dba1fe9e2c89f

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 Bytes

Contents

# frozen_string_literal: true

module Specimen
  module Command
    class SpecsRunner < PathRunner
      no_commands do
        def perform
          super
          check_config_not_nil!
          inside runtime.work_dir do
            run(exec_cmd)
          end
        end

        def framework
          profile_config['framework'] || 'rspec'
        end

        def profile_name
          profile? ? profile : 'rspec'
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
specimen-0.0.3.alpha lib/specimen/command/runner/specs_runner.rb
specimen-0.0.2.alpha lib/specimen/command/runner/specs_runner.rb