Skip to content

Test Run

Fedor Barannik edited this page Jun 8, 2017 · 3 revisions

Create

Create a new test run.

Full hash TODO:

Example

client = TMJ::Client.new
client.TestRun.create({"name": "Full regression",
                      "projectKey": "JQA"})

Find

Example

client = TMJ::Client.new
client.TestRun.find('JQA-R123')

Delete

Example

client = TMJ::Client.new
client.TestRun.delete('JQA-R123')

Search

Example

client = TMJ::Client.new
client.TestRun.search('projectKey = "JQA"')

Create New Test Run Result

Full hash for test data:

{
status: '',
environment: '',
comment: '',
username: '',
execution_time: '',
execution_date: '',
script_results: ''
}

Example

client = TMJ::Client.new
client.TestRun.create_new_test_run_result('QQ-R123', 'QQ-T123', test_data)

Update Last Test Run Result

Example

TODO:

Documentation

Process

  • [Contribution guide]

Clone this wiki locally