class QTest::TestCycle

Attributes

description[RW]
id[RW]
order[RW]
pid[RW]
project[RW]
release[RW]
tag[RW]
test_cycle[RW]
url[RW]
web_url[RW]

Public Instance Methods

create_test_cycle(opts = {}) click to toggle source
# File lib/qtest/test_cycle.rb, line 16
def create_test_cycle(opts = {})
  create(QTest::TestCycle,
         project: @project.id,
         test_cycle: @id,
         attributes: opts)
end
create_test_run(opts = {}) click to toggle source

Create a Test Run under the Test Cycle.

@return [QTest::TestRun]

# File lib/qtest/test_cycle.rb, line 43
def create_test_run(opts = {})
  create(QTest::TestRun,
         project: @project.id,
         test_cycle: @id,
         attributes: opts)
end
create_test_suite(opts = {}) click to toggle source

Create a Test Suite under the Test Cycle.

@return [QTest::TestSuite]

# File lib/qtest/test_cycle.rb, line 33
def create_test_suite(opts = {})
  create(QTest::TestSuite,
         project: @project.id,
         test_cycle: @id,
         attributes: opts)
end
test_cycles() click to toggle source

Get all Test Cycles under the Test Cycle.

@return [Array]

# File lib/qtest/test_cycle.rb, line 12
def test_cycles
  all(QTest::TestCycle, project: @project.id, test_cycle: @id)
end
test_runs() click to toggle source

Get all Test Runs under the Test Cycle.

@return [Array]

# File lib/qtest/test_cycle.rb, line 53
def test_runs
  all(QTest::TestRun, project: @project.id, test_cycle: @id)
end
test_suites() click to toggle source

Get all Test Suites under the Test Cycle.

@return [Array]

# File lib/qtest/test_cycle.rb, line 26
def test_suites
  all(QTest::TestSuite, project: @project.id, test_cycle: @id)
end