Module: ZephyrRuby::Client::Resource::TestExecutions

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

Overview

Operations related to Test Executions

Instance Method Summary collapse

Instance Method Details

#create_test_execution(body) ⇒ Object



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

def create_test_execution(body)
  post '/testexecutions', body
end


44
45
46
# File 'lib/zephyr_ruby/resource/test_executions.rb', line 44

def create_test_execution_issue_link(test_execution_id, body)
  post "/testexecutions/#{test_execution_id}/links/issues", body
end


24
25
26
# File 'lib/zephyr_ruby/resource/test_executions.rb', line 24

def create_test_execution_link(test_execution_id, body)
  post "/testexecutions/#{test_execution_id}/links/issues", body
end

#get_test_execution(test_execution_id, params = {}) ⇒ Object



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

def get_test_execution(test_execution_id, params = {})
  get "/testexecutions/#{test_execution_id}", params
end


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

def get_test_execution_links(test_execution_id)
  get "/testexecutions/#{test_execution_id}/links"
end

#get_test_steps(test_execution_id) ⇒ Object



32
33
34
# File 'lib/zephyr_ruby/resource/test_executions.rb', line 32

def get_test_steps(test_execution_id)
  get "/testexecutions/#{test_execution_id}/teststeps"
end

#list_test_executions(params = {}) ⇒ Object



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

def list_test_executions(params = {})
  get '/testexecutions', params
end

#sync_test_execution(test_execution_id) ⇒ Object



40
41
42
# File 'lib/zephyr_ruby/resource/test_executions.rb', line 40

def sync_test_execution(test_execution_id)
  post "/testexecutions/#{test_execution_id}/teststeps/sync"
end

#update_test_execution(test_execution_id, body) ⇒ Object



28
29
30
# File 'lib/zephyr_ruby/resource/test_executions.rb', line 28

def update_test_execution(test_execution_id, body)
  put "/testexecutions/#{test_execution_id}", body
end

#update_test_steps(test_execution_id, body) ⇒ Object



36
37
38
# File 'lib/zephyr_ruby/resource/test_executions.rb', line 36

def update_test_steps(test_execution_id, body)
  put "/testexecutions/#{test_execution_id}/teststeps", body
end