Method: Beaker::CLI#run_suite
- Defined in:
- lib/beaker/cli.rb
#run_suite(suite_name, failure_strategy = nil) ⇒ Object
Run the provided test suite
177 178 179 180 181 182 183 184 185 |
# File 'lib/beaker/cli.rb', line 177 def run_suite(suite_name, failure_strategy = nil) if (@options[suite_name].empty?) @logger.notify("No tests to run for suite '#{suite_name}'") return end Beaker::TestSuite.new( suite_name, @hosts, @options, @timestamp, failure_strategy ).run_and_raise_on_failure end |