diff options
author | Richard Clamp <richardc@unixbeard.net> | 2017-10-11 17:19:24 +0300 |
---|---|---|
committer | Richard Clamp <richardc@unixbeard.net> | 2017-10-13 16:04:38 +0300 |
commit | 60e8347c7f9cbd689f014fa5d633ffa3276d9650 (patch) | |
tree | 0e6de164230a17a152c3f397ba3b068fefb7990e /qa/qa.rb | |
parent | 5a2acfe036b4ce2c74b015101c57f040b851899c (diff) |
Add Test::Integration::Mattermost
Here we add a new entrypoint for the test suite,
Test::Integration::Mattermost. It is to ensure that mattermost
integration is working when enabling the embedded mattermost of
gitlab-omnibus
It runs all the example groups from Test::Instance, in addition to any
groups tagged :mattermost
* Extracts a common entrypoint class from Test::Instance as
Scenario::Entrypoint, and uses that as the base for Test::Instance and
Test::Integration::Mattermost
* RSpec groups defined in `specs/features/mattermost/**_spec.rb` are
tagged with :mattermost so they can be filtered out of the default
run.
* Tests tagged :mattermost are filtered out by default, and are
un-filtered by Test::Integration::Mattermost
Diffstat (limited to 'qa/qa.rb')
-rw-r--r-- | qa/qa.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -18,6 +18,7 @@ module QA # Support files # autoload :Actable, 'qa/scenario/actable' + autoload :Entrypoint, 'qa/scenario/entrypoint' autoload :Template, 'qa/scenario/template' ## @@ -25,6 +26,10 @@ module QA # module Test autoload :Instance, 'qa/scenario/test/instance' + + module Integration + autoload :Mattermost, 'qa/scenario/test/integration/mattermost' + end end ## |