1c999e2095
This commit adds a makefile target for generating a report for unit test coverage. It also adds the coverage_check tool to assert that the actual test coverage meets the specified requirement. This also improves various aspects of the testing utilities: * The "test" package has been renamed to "testutil" * The "Objs" member has been removed from the CmdTest object * The "Cmd" member has been added to the CmdTest object. This allows testing of multiple variants of a root airshipctl command Finally, this commit includes additional tests for root.go. These are required in order to meet the required coverage threshold. Change-Id: Id48343166c0488c543a405ec3143e4a75355ba43
116 lines
6.5 KiB
Modula-2
116 lines
6.5 KiB
Modula-2
module opendev.org/airship/airshipctl
|
|
|
|
go 1.12
|
|
|
|
require (
|
|
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
|
|
github.com/Azure/go-autorest/autorest v0.2.0 // indirect
|
|
github.com/MakeNowJust/heredoc v0.0.0-20171113091838-e9091a26100e // indirect
|
|
github.com/Microsoft/go-winio v0.4.12 // indirect
|
|
github.com/PuerkitoBio/purell v1.1.1 // indirect
|
|
github.com/argoproj/argo v2.3.0+incompatible
|
|
github.com/argoproj/pkg v0.0.0-20190409001913-7e3ef65c8d44 // indirect
|
|
github.com/blang/semver v3.5.1+incompatible // indirect
|
|
github.com/chai2010/gettext-go v0.0.0-20170215093142-bf70f2a70fb1 // indirect
|
|
github.com/colinmarc/hdfs v0.0.0-20180802165501-48eb8d6c34a9 // indirect
|
|
github.com/coreos/bbolt v1.3.2 // indirect
|
|
github.com/coreos/etcd v3.3.13+incompatible // indirect
|
|
github.com/coreos/go-semver v0.3.0 // indirect
|
|
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e // indirect
|
|
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
|
|
github.com/daviddengcn/go-colortext v0.0.0-20180409174941-186a3d44e920 // indirect
|
|
github.com/docker/distribution v0.0.0-20170726174610-edc3ab29cdff // indirect
|
|
github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0 // indirect
|
|
github.com/docker/go-connections v0.3.0 // indirect
|
|
github.com/docker/go-units v0.3.3 // indirect
|
|
github.com/docker/libnetwork v0.0.0-20180830151422-a9cd636e3789 // indirect
|
|
github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c // indirect
|
|
github.com/elazarl/goproxy v0.0.0-20190421051319-9d40249d3c2f // indirect
|
|
github.com/elazarl/goproxy/ext v0.0.0-20190421051319-9d40249d3c2f // indirect
|
|
github.com/evanphx/json-patch v4.1.0+incompatible // indirect
|
|
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
|
|
github.com/fatih/camelcase v1.0.0 // indirect
|
|
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32 // indirect
|
|
github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead // indirect
|
|
github.com/go-openapi/spec v0.19.0 // indirect
|
|
github.com/go-toolsmith/pkgload v0.0.0-20181120203407-5122569a890b // indirect
|
|
github.com/gogo/protobuf v1.2.1 // indirect
|
|
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef // indirect
|
|
github.com/golangci/golangci-lint v1.16.1-0.20190425135923-692dacb773b7
|
|
github.com/golangci/gosec v0.0.0-20180901114220-8afd9cbb6cfb // indirect
|
|
github.com/golangplus/bytes v0.0.0-20160111154220-45c989fe5450 // indirect
|
|
github.com/golangplus/fmt v0.0.0-20150411045040-2a5d6d7d2995 // indirect
|
|
github.com/golangplus/testing v0.0.0-20180327235837-af21d9c3145e // indirect
|
|
github.com/google/btree v1.0.0 // indirect
|
|
github.com/google/gofuzz v1.0.0 // indirect
|
|
github.com/googleapis/gnostic v0.2.0 // indirect
|
|
github.com/gophercloud/gophercloud v0.1.0 // indirect
|
|
github.com/gorilla/mux v1.7.2 // indirect
|
|
github.com/gregjones/httpcache v0.0.0-20190212212710-3befbb6ad0cc // indirect
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 // indirect
|
|
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
|
|
github.com/hashicorp/go-uuid v1.0.1 // indirect
|
|
github.com/imdario/mergo v0.3.7 // indirect
|
|
github.com/jcmturner/gofork v0.0.0-20190328161633-dc7c13fece03 // indirect
|
|
github.com/jonboulle/clockwork v0.1.0 // indirect
|
|
github.com/json-iterator/go v1.1.6 // indirect
|
|
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
|
|
github.com/lithammer/dedent v1.1.0 // indirect
|
|
github.com/mholt/caddy v1.0.0 // indirect
|
|
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
|
|
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect
|
|
github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c // indirect
|
|
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
|
|
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
|
|
github.com/opencontainers/image-spec v1.0.1 // indirect
|
|
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
|
|
github.com/pkg/errors v0.8.1 // indirect
|
|
github.com/russross/blackfriday v1.5.2 // indirect
|
|
github.com/sirupsen/logrus v1.4.1 // indirect
|
|
github.com/soheilhy/cmux v0.1.4 // indirect
|
|
github.com/spf13/cobra v0.0.3
|
|
github.com/spf13/pflag v1.0.3 // indirect
|
|
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect
|
|
github.com/valyala/fasttemplate v1.0.1 // indirect
|
|
github.com/vishvananda/netlink v0.0.0-20171020171820-b2de5d10e38e // indirect
|
|
github.com/vishvananda/netns v0.0.0-20171111001504-be1fbeda1936 // indirect
|
|
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect
|
|
github.com/xlab/handysort v0.0.0-20150421192137-fb3537ed64a1 // indirect
|
|
go.etcd.io/bbolt v1.3.2 // indirect
|
|
go.uber.org/atomic v1.4.0 // indirect
|
|
go.uber.org/multierr v1.1.0 // indirect
|
|
go.uber.org/zap v1.10.0 // indirect
|
|
golang.org/x/crypto v0.0.0-20190422183909-d864b10871cd // indirect
|
|
golang.org/x/net v0.0.0-20190420063019-afa5a82059c6 // indirect
|
|
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 // indirect
|
|
golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect
|
|
golang.org/x/sys v0.0.0-20190422165155-953cdadca894 // indirect
|
|
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/jcmturner/aescts.v1 v1.0.1 // indirect
|
|
gopkg.in/jcmturner/dnsutils.v1 v1.0.1 // indirect
|
|
gopkg.in/jcmturner/goidentity.v2 v2.0.0 // indirect
|
|
gopkg.in/jcmturner/gokrb5.v5 v5.3.0 // indirect
|
|
gopkg.in/jcmturner/rpc.v0 v0.0.2 // indirect
|
|
gotest.tools v2.2.0+incompatible // indirect
|
|
k8s.io/api v0.0.0-20190516230258-a675ac48af67 // indirect
|
|
k8s.io/apiextensions-apiserver v0.0.0-20190516231611-bf6753f2aa24 // indirect
|
|
k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d // indirect
|
|
k8s.io/apiserver v0.0.0-20190516230822-f89599b3f645 // indirect
|
|
k8s.io/cli-runtime v0.0.0-20190516231937-17bc0b7fcef5 // indirect
|
|
k8s.io/client-go v11.0.1-0.20190516230509-ae8359b20417+incompatible
|
|
k8s.io/cloud-provider v0.0.0-20190516232619-2bf8e45c8454 // indirect
|
|
k8s.io/cluster-bootstrap v0.0.0-20190516232516-d7d78ab2cfe7 // indirect
|
|
k8s.io/component-base v0.0.0-20190516230545-9b07ebd4193b // indirect
|
|
k8s.io/klog v0.3.2 // indirect
|
|
k8s.io/kube-openapi v0.0.0-20190603182131-db7b694dc208 // indirect
|
|
k8s.io/kube-proxy v0.0.0-20190516232141-b2acb7b92548 // indirect
|
|
k8s.io/kubelet v0.0.0-20190516232236-412e4380c1a8 // indirect
|
|
k8s.io/kubernetes v1.14.2
|
|
k8s.io/metrics v0.0.0-20190516231729-8b83d5daaa8f // indirect
|
|
k8s.io/utils v0.0.0-20190529001817-6999998975a7 // indirect
|
|
sigs.k8s.io/kustomize v2.0.3+incompatible // indirect
|
|
sigs.k8s.io/yaml v1.1.0 // indirect
|
|
vbom.ml/util v0.0.0-20180919145318-efcd4e0f9787 // indirect
|
|
)
|