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_and_tag, address, *rspec_args) ⇒ Object



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

def perform(edition_and_tag, address, *rspec_args)
  Component::Specs.perform do |specs|
    specs.suite = 'Test::Instance::All'
    specs.release = QA::Release.new(edition_and_tag)
    specs.network = Runtime::Env.docker_network if ENV['QA_DOCKER_NETWORK']
    specs.args = [address, *rspec_args]
  end
end