Module: ZephyrRuby::Client::Resource::Automations

Included in:
ZephyrRuby::Client
Defined in:
lib/zephyr_ruby/resource/automations.rb

Overview

Operations related to Automations

Instance Method Summary collapse

Instance Method Details

#create_automation_cucumber(body, file_path = nil) ⇒ Object



12
13
14
# File 'lib/zephyr_ruby/resource/automations.rb', line 12

def create_automation_cucumber(body, file_path = nil)
  post '/automations/executions/cucumber', body, file_path
end

#create_automation_custom(body, file_path = nil) ⇒ Object



8
9
10
# File 'lib/zephyr_ruby/resource/automations.rb', line 8

def create_automation_custom(body, file_path = nil)
  post '/automations/executions/custom', body, file_path
end

#create_automation_junit(body, file_path = nil) ⇒ Object



16
17
18
# File 'lib/zephyr_ruby/resource/automations.rb', line 16

def create_automation_junit(body, file_path = nil)
  post '/automations/executions/junit', body, file_path
end

#get_zip_file(params = {}) ⇒ Object



20
21
22
# File 'lib/zephyr_ruby/resource/automations.rb', line 20

def get_zip_file(params = {})
  get '/automations/testcases', params
end