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