debian-mirror-gitlab/workhorse/doc/development/tests.md

18 lines
479 B
Markdown
Raw Permalink Normal View History

2021-02-22 17:27:13 +05:30
# 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.