Class: Jasmine::Runners::HTTP
- Inherits:
-
Object
- Object
- Jasmine::Runners::HTTP
- Defined in:
- lib/jasmine/runners/http.rb
Instance Attribute Summary collapse
-
#suites ⇒ Object
Returns the value of attribute suites.
Instance Method Summary collapse
-
#initialize(client, results_processor, result_batch_size) ⇒ HTTP
constructor
A new instance of HTTP.
- #run ⇒ Object
Constructor Details
#initialize(client, results_processor, result_batch_size) ⇒ HTTP
Returns a new instance of HTTP.
6 7 8 9 10 |
# File 'lib/jasmine/runners/http.rb', line 6 def initialize(client, results_processor, result_batch_size) @client = client @results_processor = results_processor @result_batch_size = result_batch_size end |
Instance Attribute Details
#suites ⇒ Object
Returns the value of attribute suites.
4 5 6 |
# File 'lib/jasmine/runners/http.rb', line 4 def suites @suites end |
Instance Method Details
#run ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/jasmine/runners/http.rb', line 12 def run @client.connect load_suite_info wait_for_suites_to_finish_running results = @results_processor.process(results_hash, suites) @client.disconnect results end |