-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert integration tests to ginkgo from spec
- ginkgo is still supported unlike spec Co-authored-by: David Alvarado <alvaradoda@vmware.com> Co-authored-by: Michael Oleske <moleske@pivotal.io>
- Loading branch information
Showing
4 changed files
with
102 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,29 @@ | ||
module github.com/cloudfoundry/stack-auditor | ||
|
||
go 1.19 | ||
|
||
require ( | ||
code.cloudfoundry.org/cli v6.44.1+incompatible | ||
github.com/blang/semver v3.5.1+incompatible | ||
github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23 | ||
github.com/cloudfoundry/libbuildpack v0.0.0-20190115190946-c10a4cd29881 | ||
github.com/golang/mock v1.2.0 | ||
github.com/onsi/gomega v1.4.3 | ||
github.com/onsi/ginkgo/v2 v2.8.0 | ||
github.com/onsi/gomega v1.25.0 | ||
github.com/pkg/errors v0.8.1 | ||
github.com/sclevine/spec v1.2.0 | ||
golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c // indirect | ||
golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect | ||
golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862 // indirect | ||
golang.org/x/text v0.3.2 // indirect | ||
) | ||
|
||
require ( | ||
github.com/Masterminds/semver v1.4.2 // indirect | ||
github.com/elazarl/goproxy v0.0.0-20181111060418-2ce16c963a8a // indirect | ||
github.com/go-logr/logr v1.2.3 // indirect | ||
github.com/google/go-cmp v0.5.9 // indirect | ||
github.com/tidwall/gjson v1.1.3 // indirect | ||
github.com/tidwall/match v1.0.1 // indirect | ||
golang.org/x/net v0.5.0 // indirect | ||
golang.org/x/sys v0.4.0 // indirect | ||
golang.org/x/text v0.6.0 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package integration_test | ||
|
||
import ( | ||
"testing" | ||
|
||
. "github.com/onsi/ginkgo/v2" | ||
. "github.com/onsi/gomega" | ||
) | ||
|
||
func TestIntegration(t *testing.T) { | ||
RegisterFailHandler(Fail) | ||
RunSpecs(t, "Integration Suite") | ||
} |
Oops, something went wrong.