Class: Busser::Command::Test
- Inherits:
-
Thor::BaseGroup
- Object
- Thor::Group
- Thor::BaseGroup
- Busser::Command::Test
- Defined in:
- lib/busser/command/test.rb
Overview
Test command.
Instance Method Summary collapse
Methods included from UI
banner, die, fatal, handle_command, info, run!, run_ruby_script!, status, warn
Methods included from Helpers
chef_apply, install_gem, root_path, suite_path, vendor_path
Instance Method Details
#perform ⇒ Object
34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/busser/command/test.rb', line 34 def perform Busser::Plugin.runner_plugins(plugins).each do |runner_path| runner = File.basename(runner_path) next if skip_runner?(runner) klass = ::Thor::Util.camel_case(runner) "Running #{runner} test suite" Busser::Plugin.require!(runner_path) prepare_suite(runner) invoke Busser::Plugin.runner_class(klass) end end |