Class: TestProf::Autopilot::Runner
- Inherits:
-
Object
- Object
- TestProf::Autopilot::Runner
- Includes:
- Dsl
- Defined in:
- lib/test_prof/autopilot/runner.rb
Instance Attribute Summary collapse
-
#report ⇒ Object
readonly
Returns the value of attribute report.
Class Method Summary collapse
Methods included from Dsl
#aggregate, #info, #run, #save
Instance Attribute Details
#report ⇒ Object (readonly)
Returns the value of attribute report.
14 15 16 |
# File 'lib/test_prof/autopilot/runner.rb', line 14 def report @report end |
Class Method Details
.invoke(plan_path, command) ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/test_prof/autopilot/runner.rb', line 17 def invoke(plan_path, command) Autopilot.configure do |config| config.plan_path = plan_path config.command = command end Logging.log "Reading #{plan_path}..." new.instance_eval(File.read(Autopilot.config.plan_path)) end |