Class: Omnitest::Skeptic::CLI

Inherits:
BaseCLI
  • Object
show all
Defined in:
lib/omnitest/skeptic/cli.rb

Overview

rubocop:disable Metrics/ClassLength

Constant Summary collapse

MAX_CONCURRENCY =

The maximum number of concurrent instances that can run–which is a bit high

9999

Instance Attribute Summary

Attributes inherited from BaseCLI

#psychic, #skeptic

Instance Method Summary collapse

Instance Method Details

#code2doc(regex = 'all') ⇒ Object



64
65
66
67
68
# File 'lib/omnitest/skeptic/cli.rb', line 64

def code2doc(regex = 'all')
  update_config!
  action_options = options.dup
  skeptic.public_send(:code2doc, regex, action_options)
end

#test(regex = 'all') ⇒ Object



100
101
102
103
104
# File 'lib/omnitest/skeptic/cli.rb', line 100

def test(regex = 'all')
  update_config!
  action_options = options.dup
  skeptic.public_send(:test, regex, action_options)
end