class Kitchen::Command::Action

Command to run a single action one or more instances.

@author Fletcher Nichol <fnichol@nichol.ca>

Public Instance Methods

call() click to toggle source

Invoke the command.

# File lib/kitchen/command/action.rb, line 31
def call
  banner "Starting Test Kitchen (v#{Kitchen::VERSION})"
  elapsed = Benchmark.measure do
    results = parse_subcommand(args.first)
    run_action(action, results)
  end
  banner "Test Kitchen is finished. #{Util.duration(elapsed.real)}"
end