Class: Beaker::Runner::MiniTest::TestSuite
- Inherits:
-
Object
- Object
- Beaker::Runner::MiniTest::TestSuite
- Defined in:
- lib/beaker/runner/mini_test/test_suite.rb
Instance Attribute Summary collapse
-
#fail_mode ⇒ Object
readonly
TODO ?.
-
#name ⇒ Object
readonly
TODO ?.
-
#options ⇒ Object
readonly
TODO ?.
Instance Method Summary collapse
-
#initialize(name, hosts, options, timestamp, fail_mode = nil) ⇒ TestSuite
constructor
Create TestSuite instance.
-
#log_path(name, log_dir) ⇒ Object
Gives a full file path for output to be written to, maintaining the latest symlink.
- #run ⇒ Object
-
#run_and_raise_on_failure ⇒ Object
Execute all the TestCases in this suite.
Constructor Details
#initialize(name, hosts, options, timestamp, fail_mode = nil) ⇒ TestSuite
Create Beaker::Runner::MiniTest::TestSuite instance
19 20 21 |
# File 'lib/beaker/runner/mini_test/test_suite.rb', line 19 def initialize(name, hosts, , , fail_mode=nil) # TODO ? end |
Instance Attribute Details
#fail_mode ⇒ Object (readonly)
TODO ?
5 6 7 |
# File 'lib/beaker/runner/mini_test/test_suite.rb', line 5 def fail_mode @fail_mode end |
#name ⇒ Object (readonly)
TODO ?
5 6 7 |
# File 'lib/beaker/runner/mini_test/test_suite.rb', line 5 def name @name end |
#options ⇒ Object (readonly)
TODO ?
5 6 7 |
# File 'lib/beaker/runner/mini_test/test_suite.rb', line 5 def end |
Instance Method Details
#log_path(name, log_dir) ⇒ Object
Gives a full file path for output to be written to, maintaining the latest symlink
52 53 54 |
# File 'lib/beaker/runner/mini_test/test_suite.rb', line 52 def log_path(name, log_dir) # TODO ? end |
#run ⇒ Object
23 24 25 |
# File 'lib/beaker/runner/mini_test/test_suite.rb', line 23 def run # TODO ? end |
#run_and_raise_on_failure ⇒ Object
Execute all the TestCases in this suite. This is a wrapper that catches any failures generated during TestSuite::run.
29 30 31 |
# File 'lib/beaker/runner/mini_test/test_suite.rb', line 29 def run_and_raise_on_failure # TODO ? end |