Sha256: bc7fc76e2d4decb08c6cade7ab06913139c9c15978386f276b2731f2d71f12f9

Contents?: true

Size: 791 Bytes

Versions: 3

Compression:

Stored size: 791 Bytes

Contents

# frozen_string_literal: true

module ZephyrRuby
  class Client
    module Resource
      # Operations related to Test Executions
      module TestExecutions
        def create_test_execution(body)
          post '/testexecutions', body
        end

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

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zephyr_ruby-0.3.0 lib/zephyr_ruby/resource/test_executions.rb
zephyr_ruby-0.2.0 lib/zephyr_ruby/resource/test_executions.rb
zephyr_ruby-0.1.0 lib/zephyr_ruby/resource/test_executions.rb