Class: ShoulderTap::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/shouldertap/cli.rb

Instance Method Summary collapse

Constructor Details

#initialize(arguments, tap_output) ⇒ CLI

Returns a new instance of CLI.



9
10
11
12
# File 'lib/shouldertap/cli.rb', line 9

def initialize(arguments, tap_output)
  @arguments = arguments
  @tap_output = tap_output
end

Instance Method Details

#runObject



14
15
16
17
# File 'lib/shouldertap/cli.rb', line 14

def run
  testsuite = ShoulderTap::Testsuite.new @tap_output
  ShoulderTap::Notification.new(testsuite, options[:name]).send
end