Sha256: e8662131ff258524639d7bbc3c7e7b60be640c20f9650c234882e4b8d50301e9
Contents?: true
Size: 692 Bytes
Versions: 1
Compression:
Stored size: 692 Bytes
Contents
module QTest class TestRun < QTest::Base attr_accessor :id, :release, :test_cycle, :project, :test_suite # Submit an execution log for the Test Run. # # @param opts [Hash] # @option status [Symbol] passed, failed, etc. # @return [Hash] 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qtest-ruby-0.1.0 | lib/qtest/test_run.rb |