Class: Kitchen::Command::Action
- Includes:
- RunAction
- Defined in:
- lib/kitchen/command/action.rb
Overview
Command to run a single action one or more instances.
Instance Method Summary collapse
-
#call ⇒ Object
Invoke the command.
Methods included from RunAction
#concurrency_setting, #report_errors, #run_action, #run_action_in_thread
Methods inherited from Base
Methods included from Logging
#banner, #debug, #error, #fatal, #info, #warn
Constructor Details
This class inherits a constructor from Kitchen::Command::Base
Instance Method Details
#call ⇒ Object
Invoke the command.
31 32 33 34 35 36 37 38 |
# File 'lib/kitchen/command/action.rb', line 31 def call "Starting Test Kitchen (v#{Kitchen::VERSION})" elapsed = Benchmark.measure do results = parse_subcommand(args.first) run_action(action, results) end "Test Kitchen is finished. #{Util.duration(elapsed.real)}" end |