class QTest::TestRun
Attributes
id[RW]
project[RW]
release[RW]
test_cycle[RW]
test_suite[RW]
Public Instance Methods
submit_test_log(opts = {})
click to toggle source
Submit an execution log for the Test Run.
@param opts [Hash] @option status [Symbol] passed, failed, etc. @return [Hash]
# File lib/qtest/test_run.rb, line 10 def submit_test_log(opts = {}) opts[:status] = client.execution_statuses(project: @project.id) .select do |status| status[:name].downcase.to_sym == opts[:status] end.first client.submit_test_log(project: @project.id, test_run: @id, attributes: opts) end