Class: Oats::Ide

Inherits:
Object
  • Object
show all
Defined in:
lib/oats/ide.rb

Overview

Runs an IDE based HTML suite after transforming it based on current Oats data

Instance Method Summary collapse

Constructor Details

#initializeIde

Returns a new instance of Ide.



7
8
9
10
11
# File 'lib/oats/ide.rb', line 7

def initialize()
  super
  @suite_base_url_signin_type = nil;
  @first_test_url = nil;
end

Instance Method Details

#run(input_suite_path, hash = nil) ⇒ Object

Run input_suite_path while in a TestData.dir . Assumes Oats.data is initialized for TestData.dir

input_suite_path

path to the suite HTML

hash

list from => to values to use for regeneration of the included test cases.



16
17
18
19
20
21
22
# File 'lib/oats/ide.rb', line 16

def run (input_suite_path, hash = nil )
  begin
    run_ide(input_suite_path, hash)
  ensure
    TestData.current_test.collect_downloaded_output
  end
end