Switch to ginkgo/gomega for tests

This switches over to ginkgo/gomega for tests, which makes writing
certain tests easier/more fluent in the future.
This commit is contained in:
Solly Ross 2018-09-25 14:27:33 -04:00
parent c5801455ec
commit cc08a1fb41
260 changed files with 184637 additions and 6412 deletions

View file

@ -53,28 +53,28 @@
[[constraint]]
name = "github.com/kubernetes-incubator/metrics-server"
branch = "master"
version = "v0.3.1"
# Core Kubernetes deps
[[constraint]]
name = "k8s.io/api"
version = "kubernetes-1.11.3"
branch = "release-1.11"
[[constraint]]
name = "k8s.io/apimachinery"
version = "kubernetes-1.11.3"
branch = "release-1.11"
[[constraint]]
name = "k8s.io/apiserver"
version = "kubernetes-1.11.3"
branch = "release-1.11"
[[constraint]]
name = "k8s.io/client-go"
version = "kubernetes-1.11.3"
branch = "release-8.0"
[[constraint]]
name = "k8s.io/metrics"
version = "kubernetes-1.11.3"
branch = "release-1.11"
# messed up kubernetes dep
[[override]]
@ -83,8 +83,18 @@
# Test deps
[[constraint]]
name = "github.com/stretchr/testify"
version = "1.2.2"
name = "github.com/onsi/ginkgo"
version = "1.6.0"
[[constraint]]
name = "github.com/onsi/gomega"
version = "1.4.2"
# For dependency below: Refer to issue https://github.com/golang/dep/issues/1799
[[override]]
name = "gopkg.in/fsnotify.v1"
source = "https://github.com/fsnotify/fsnotify.git"
version="v1.4.7"
[prune]
go-tests = true