Class: Gitlab::QA::Scenario::Test::Instance::Any

Inherits:
Gitlab::QA::Scenario::Template show all
Defined in:
lib/gitlab/qa/scenario/test/instance/any.rb

Overview

Run test suite against any GitLab instance, including staging and on-premises installation.

Instance Method Summary collapse

Methods inherited from Gitlab::QA::Scenario::Template

perform

Instance Method Details

#perform(edition, tag, address) ⇒ Object



11
12
13
14
15
16
17
18
19
20
21
# File 'lib/gitlab/qa/scenario/test/instance/any.rb', line 11

def perform(edition, tag, address)
  release = Release.new(edition).tap do |r|
    r.tag = tag
  end

  Component::Specs.perform do |specs|
    specs.suite = 'Test::Instance'
    specs.release = release
    specs.args = [address]
  end
end