Improve workhorse test coverage for [no test files]
Overview
Running tests for Workhorse against 0256bad3 shows a number of packages that do not contain any test files at all:
? gitlab.com/gitlab-org/gitlab/workhorse/cmd/gitlab-resize-image [no test files]
? gitlab.com/gitlab-org/gitlab/workhorse/cmd/gitlab-zip-cat [no test files]
? gitlab.com/gitlab-org/gitlab/workhorse/cmd/gitlab-zip-metadata [no test files]
? gitlab.com/gitlab-org/gitlab/workhorse/internal/helper/command [no test files]
? gitlab.com/gitlab-org/gitlab/workhorse/internal/helper/exception [no test files]
? gitlab.com/gitlab-org/gitlab/workhorse/internal/helper/nginx [no test files]
? gitlab.com/gitlab-org/gitlab/workhorse/internal/secret [no test files]
? gitlab.com/gitlab-org/gitlab/workhorse/internal/testhelper [no test files]
? gitlab.com/gitlab-org/gitlab/workhorse/internal/transport [no test files]
? gitlab.com/gitlab-org/gitlab/workhorse/internal/upload/destination/objectstore/s3api [no test files]
? gitlab.com/gitlab-org/gitlab/workhorse/internal/urlprefix [no test files]
? gitlab.com/gitlab-org/gitlab/workhorse/internal/utils/svg [no test files]
Let's fix this.
Progress
-
gitlab.com/gitlab-org/gitlab/workhorse/cmd/gitlab-resize-image
-
gitlab.com/gitlab-org/gitlab/workhorse/cmd/gitlab-zip-cat
-
gitlab.com/gitlab-org/gitlab/workhorse/cmd/gitlab-zip-metadata
-
gitlab.com/gitlab-org/gitlab/workhorse/internal/helper/command
- Add basic coverage for `workhorse/internal/help... (!141958 - merged) -
gitlab.com/gitlab-org/gitlab/workhorse/internal/helper/exception
-
gitlab.com/gitlab-org/gitlab/workhorse/internal/helper/nginx
-
gitlab.com/gitlab-org/gitlab/workhorse/internal/secret
-
gitlab.com/gitlab-org/gitlab/workhorse/internal/testhelper
-
gitlab.com/gitlab-org/gitlab/workhorse/internal/transport
- Add basic test for transport package (!139859 - merged) -
gitlab.com/gitlab-org/gitlab/workhorse/internal/upload/destination/objectstore/s3api
-
gitlab.com/gitlab-org/gitlab/workhorse/internal/urlprefix
-
gitlab.com/gitlab-org/gitlab/workhorse/internal/utils/svg
Edited by Ash McKenzie