Module: ZephyrRuby::Client::Resource::TestPlans
- Included in:
- ZephyrRuby::Client
- Defined in:
- lib/zephyr_ruby/resource/test_plans.rb
Overview
Operations related to Test Plans
Instance Method Summary collapse
- #create_testplan(body) ⇒ Object
- #create_testplan_issuelink(testplan_id, body) ⇒ Object
- #create_testplan_testcycle_link(testplan_id, body) ⇒ Object
- #create_testplan_weblink(testplan_id, body) ⇒ Object
- #get_testplan(testplan_id) ⇒ Object
- #list_testplans(params = {}) ⇒ Object
Instance Method Details
#create_testplan(body) ⇒ Object
8 9 10 |
# File 'lib/zephyr_ruby/resource/test_plans.rb', line 8 def create_testplan(body) post '/testplans', body end |
#create_testplan_issuelink(testplan_id, body) ⇒ Object
24 25 26 |
# File 'lib/zephyr_ruby/resource/test_plans.rb', line 24 def create_testplan_issuelink(testplan_id, body) post "/testplans/#{testplan_id}/links/issuelink", body end |
#create_testplan_testcycle_link(testplan_id, body) ⇒ Object
28 29 30 |
# File 'lib/zephyr_ruby/resource/test_plans.rb', line 28 def create_testplan_testcycle_link(testplan_id, body) post "/testplans/#{testplan_id}/links/testcycles", body end |
#create_testplan_weblink(testplan_id, body) ⇒ Object
20 21 22 |
# File 'lib/zephyr_ruby/resource/test_plans.rb', line 20 def create_testplan_weblink(testplan_id, body) post "/testplans/#{testplan_id}/links/weblinks", body end |
#get_testplan(testplan_id) ⇒ Object
12 13 14 |
# File 'lib/zephyr_ruby/resource/test_plans.rb', line 12 def get_testplan(testplan_id) get "/testplans/#{testplan_id}" end |
#list_testplans(params = {}) ⇒ Object
16 17 18 |
# File 'lib/zephyr_ruby/resource/test_plans.rb', line 16 def list_testplans(params = {}) get '/testplans', params end |