Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
1f50eb4f
Commit
1f50eb4f
authored
Dec 20, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docs about end-to-end testing / GitLab QA tests
parent
81dcd8ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
0 deletions
+50
-0
doc/development/testing_guide/end_to_end_tests.md
doc/development/testing_guide/end_to_end_tests.md
+42
-0
doc/development/testing_guide/index.md
doc/development/testing_guide/index.md
+8
-0
No files found.
doc/development/testing_guide/end_to_end_tests.md
0 → 100644
View file @
1f50eb4f
# End-to-End Testing
## What is End-to-End testing?
End-to-End testing is a strategy used to check whether your application works
as expected across entire software stack and architecture, including
integration of all microservices and components that are supposed to work
together.
## How do we test GitLab?
We use
[
Omnibus GitLab
][
omnibus-gitlab
]
to build GitLab packages and then we
test these packages using
[
GitLab QA
][
gitlab-qa
]
project, which is entirely
black-box, click-driven testing framework.
### Testing nightly builds
We run scheduled pipeline each night to test nightly builds created by Omnibus.
You can find these nightly pipelines at
[
GitLab QA pipelines page
][
gitlab-qa-pipelines
]
.
### Testing code in merge requests
It is also possible to trigger packages build and
[
GitLab QA pipeline
][
gitlab-qa-pipelines
]
using a manual action that should be present in the merge request widget on
your merge request. Look for
`package-qa`
manual action.
Below you can read more about how to use it and how does it work.
## How does it work?
We are using _multi-project pipelines_ to run end-to-end tests.
## How do I test my code?
## How do I contribute?
## Where can I ask for help?
[
omnibus-gitlab
]:
https://gitlab.com/gitlab-org/omnibus-gitlab
[
gitlab-qa
]:
https://gitlab.com/gitlab-org/gitlab-qa
[
gitlab-qa-pipelines
]:
https://gitlab.com/gitlab-org/gitlab-qa/pipelines
doc/development/testing_guide/index.md
View file @
1f50eb4f
...
@@ -65,6 +65,13 @@ Everything you should know about how to test Rake tasks.
...
@@ -65,6 +65,13 @@ Everything you should know about how to test Rake tasks.
---
---
## [End-to-end tests](end_to_end_tests.md)
Everything you should know about how to run end-to-end tests, also known as
[
GitLab QA
][
gitlab-qa
]
tests.
---
## Spinach (feature) tests
## Spinach (feature) tests
GitLab
[
moved from Cucumber to Spinach
](
https://github.com/gitlabhq/gitlabhq/pull/1426
)
GitLab
[
moved from Cucumber to Spinach
](
https://github.com/gitlabhq/gitlabhq/pull/1426
)
...
@@ -89,3 +96,4 @@ test should be re-implemented using RSpec instead.
...
@@ -89,3 +96,4 @@ test should be re-implemented using RSpec instead.
[
Capybara
]:
https://github.com/teamcapybara/capybara
[
Capybara
]:
https://github.com/teamcapybara/capybara
[
Karma
]:
http://karma-runner.github.io/
[
Karma
]:
http://karma-runner.github.io/
[
Jasmine
]:
https://jasmine.github.io/
[
Jasmine
]:
https://jasmine.github.io/
[
gitlab-qa
]:
https://gitlab.com/gitlab-org/gitlab-qa
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment