Skip to content

refactor: migrate test suite from Ginkgo v1 to v2#224

Merged
tnikolova82 merged 1 commit intomasterfrom
ginkgo-v2
Mar 6, 2026
Merged

refactor: migrate test suite from Ginkgo v1 to v2#224
tnikolova82 merged 1 commit intomasterfrom
ginkgo-v2

Conversation

@ramonskie
Copy link
Contributor

Summary

Migrates the binary-buildpack test suite from Ginkgo v1 to v2.

Commit 1: migrate to ginkgo v2

  • Upgraded github.com/onsi/ginkgo v1.16.5 → github.com/onsi/ginkgo/v2 v2.28.1
  • Updated all import paths from github.com/onsi/ginkgogithub.com/onsi/ginkgo/v2 in 6 source files
  • Ran go mod tidy and go mod vendor to update dependencies

Files changed

  • go.mod, go.sum — dependency upgrade
  • vendor/ — updated vendor tree (ginkgo/v2, golang.org/x/tools, etc.)
  • src/binary/brats/brats_suite_test.go
  • src/binary/brats/brats_test.go
  • src/binary/finalize/cli/cli_suite_test.go
  • src/binary/finalize/finalize_suite_test.go
  • src/binary/supply/cli/cli_suite_test.go
  • src/binary/supply/supply_suite_test.go

Verification

  • go build ./...
  • Zero AfterEach in source (no DeferCleanup migration needed) ✅

Upgrade github.com/onsi/ginkgo v1.16.5 -> v2 and update all import
paths from github.com/onsi/ginkgo to github.com/onsi/ginkgo/v2.
Copy link
Contributor

@tnikolova82 tnikolova82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tnikolova82 tnikolova82 merged commit 1d19279 into master Mar 6, 2026
7 checks passed
@tnikolova82 tnikolova82 deleted the ginkgo-v2 branch March 6, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants