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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
0c9b9a70
Commit
0c9b9a70
authored
May 22, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the on-demand run of MySQL tests
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
d02d3e34
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
12 deletions
+22
-12
doc/development/testing_guide/best_practices.md
doc/development/testing_guide/best_practices.md
+22
-12
No files found.
doc/development/testing_guide/best_practices.md
View file @
0c9b9a70
...
@@ -15,6 +15,16 @@ manifest themselves within our code. When designing our tests, take time to revi
...
@@ -15,6 +15,16 @@ manifest themselves within our code. When designing our tests, take time to revi
our test design. We can find some helpful heuristics documented in the Handbook in the
our test design. We can find some helpful heuristics documented in the Handbook in the
[
Test Design
](
https://about.gitlab.com/handbook/engineering/quality/guidelines/test-engineering/test-design/
)
section.
[
Test Design
](
https://about.gitlab.com/handbook/engineering/quality/guidelines/test-engineering/test-design/
)
section.
## Run tests against MySQL
By default, tests are only run againts PostgreSQL, but you can run them on
demand against MySQL by following one of the following conventions:
| Convention | Valid example |
|:----------------------|:-----------------------------|
| Include
`mysql`
in your branch name |
`enhance-mysql-support`
|
| Include
`[run mysql]`
in your commit message |
`Fix MySQL support<br><br>[run mysql]`
|
## Test speed
## Test speed
GitLab has a massive test suite that, without [parallelization], can take hours
GitLab has a massive test suite that, without [parallelization], can take hours
...
...
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