Class: Omnitest::Command::ScenarioAction
- Includes:
- RunAction
- Defined in:
- lib/omnitest/command/scenario_action.rb
Instance Method Summary collapse
-
#call ⇒ Object
Invoke the command.
Methods included from RunAction
Methods inherited from Base
Constructor Details
This class inherits a constructor from Omnitest::Command::Base
Instance Method Details
#call ⇒ Object
Invoke the command.
9 10 11 12 13 14 15 16 17 |
# File 'lib/omnitest/command/scenario_action.rb', line 9 def call "Starting Omnitest (v#{Omnitest::VERSION})" elapsed = Benchmark.measure do setup scenarios = parse_subcommand(args.shift, args.shift) run_action(scenarios, action, [:concurrency]) end "Omnitest is finished. #{Core::Util.duration(elapsed.real)}" end |