class QTest::Release

Attributes

end_date[R]
id[RW]
name[RW]
order[RW]
pid[RW]
project[RW]
properties[RW]
start_date[R]
tag[RW]
url[RW]
web_url[RW]

Public Instance Methods

create_test_cycle(opts = {}) click to toggle source

Create a Test Cycle under the Release.

@return [QTest::TestCycle]

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

Create a Test Suite under the Release.

@return [QTest::TestSuite]

# File lib/qtest/release.rb, line 34
def create_test_suite(opts = {})
  create(QTest::TestSuite,
         project: @project.id,
         release: @id,
         attributes: opts)
end
end_date=(end_date) click to toggle source
# File lib/qtest/release.rb, line 13
def end_date=(end_date)
  @end_date = Time.parse(end_date)
end
start_date=(start_date) click to toggle source
# File lib/qtest/release.rb, line 9
def start_date=(start_date)
  @start_date = Time.parse(start_date)
end
test_cycles() click to toggle source

Get all Test Cycles under the Release.

@return [Array]

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

Get all Test Suites under the Release.

@return [Array]

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