[Technical articles](../development/documentation/index.md#technical-articles) are
Technical articles are
topic-related documentation, written with an user-friendly approach and language, aiming
topic-related documentation, written with a user-friendly approach and language, aiming
to provide the community with guidance on specific processes to achieve certain objectives.
to provide the community with guidance on specific processes to achieve certain objectives.
The list of technical articles was [deprecated](https://gitlab.com/gitlab-org/gitlab-ce/issues/41138) in favor of having them linked from their topic-related documentation:
The list of technical articles was [deprecated](https://gitlab.com/gitlab-org/gitlab-ce/issues/41138) in favor of having them linked from their topic-related documentation:
@@ -179,7 +179,7 @@ the feature you contribute through all of these steps.
...
@@ -179,7 +179,7 @@ the feature you contribute through all of these steps.
1. Added to [the website](https://gitlab.com/gitlab-com/www-gitlab-com/), if relevant
1. Added to [the website](https://gitlab.com/gitlab-com/www-gitlab-com/), if relevant
1. Community questions answered
1. Community questions answered
1. Answers to questions radiated (in docs/wiki/support etc.)
1. Answers to questions radiated (in docs/wiki/support etc.)
1.[Black-box tests/end-to-end tests](../testing_guide/testing_levels.md#black-box-tests-or-end-to-end-tests) added if required. Please contact [the quality team](https://about.gitlab.com/handbook/engineering/quality/#teams) with any questions
1.[Black-box tests/end-to-end tests](../testing_guide/testing_levels.md#black-box-tests-at-the-system-level-aka-end-to-end-tests) added if required. Please contact [the quality team](https://about.gitlab.com/handbook/engineering/quality/#teams) with any questions
If you add a dependency in GitLab (such as an operating system package) please
If you add a dependency in GitLab (such as an operating system package) please
consider updating the following and note the applicability of each in your
consider updating the following and note the applicability of each in your
@@ -161,7 +161,7 @@ still having access the class's implementation with `super`.
...
@@ -161,7 +161,7 @@ still having access the class's implementation with `super`.
There are a few gotchas with it:
There are a few gotchas with it:
- you should always [`extend ::Gitlab::Utils::Override`] and use `override` to
- you should always [`extend ::Gitlab::Utils::Override`](utilities.md#overridehttpsgitlabcomgitlab-orggitlab-ceblobmasterlibgitlabutilsoverriderb) and use `override` to
guard the "overrider" method to ensure that if the method gets renamed in
guard the "overrider" method to ensure that if the method gets renamed in
CE, the EE override won't be silently forgotten.
CE, the EE override won't be silently forgotten.
- when the "overrider" would add a line in the middle of the CE
- when the "overrider" would add a line in the middle of the CE
| `app/assets/javascripts/` | `spec/javascripts/` | Karma | More details in the [JavaScript](#javascript) section. |
| `app/assets/javascripts/` | `spec/javascripts/` | Karma | More details in the [Karma JavaScript test suite](frontend_testing.md#karma-test-suite) section. |
### About controller tests
### About controller tests
...
@@ -210,7 +210,7 @@ trade-off:
...
@@ -210,7 +210,7 @@ trade-off:
- Integration tests are a bit more expensive, but don't abuse them. A system test
- Integration tests are a bit more expensive, but don't abuse them. A system test
is often better than an integration test that is stubbing a lot of internals.
is often better than an integration test that is stubbing a lot of internals.
- System tests are expensive (compared to unit tests), even more if they require
- System tests are expensive (compared to unit tests), even more if they require
a JavaScript driver. Make sure to follow the guidelines in the [Speed](#test-speed)
a JavaScript driver. Make sure to follow the guidelines in the [Speed](best_practices.md#test-speed)
section.
section.
Another way to see it is to think about the "cost of tests", this is well
Another way to see it is to think about the "cost of tests", this is well