Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'workhorse/doc/development/tests.md')
-rw-r--r--workhorse/doc/development/tests.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/workhorse/doc/development/tests.md b/workhorse/doc/development/tests.md
new file mode 100644
index 00000000000..82f74e8656b
--- /dev/null
+++ b/workhorse/doc/development/tests.md
@@ -0,0 +1,17 @@
+# Testing your code
+
+Run the tests with:
+
+```
+make clean test
+```
+
+## Coverage / what to test
+
+Each feature in GitLab Workhorse should have an integration test that
+verifies that the feature 'kicks in' on the right requests and leaves
+other requests unaffected. It is better to also have package-level tests
+for specific behavior but the high-level integration tests should have
+the first priority during development.
+
+It is OK if a feature is only covered by integration tests.