Skip to content

Conversation

@0x0013
Copy link
Contributor

@0x0013 0x0013 commented Jan 12, 2026

Ginkgo v1 is deprecated for a long time. This updates to Ginkgo v2.

This would also be used when implementing Analysis generation, as v2 supports table tests syntax sugar DescribeTable.

Changed behavior

CLI flags

Ginkgo cli flags in Makefile have been changed from CamelCase to appropriate snake-case.

Docs reference.

Acceptance reporter configuration

Change how custom reporter config in acceptance testing is set and used.

Docs reference

BeforeSuite timeout

Several BeforeSuite nodes in suite_test.go files used to have 60-second timeout defined. In v2, these could be defined as NodeTimeout decorator, however, doing so would require accepting a Context in the closure, and it doesn't seem that it would be used in the current implementation. Therefore, the timeout was removed - similar approach was taken when upgrading to Ginkgo v2 in controller-runtime.

Docs reference - not exactly the same scenario, but offers example of how to add NodeTimeout.

@0x0013 0x0013 merged commit 7ecd654 into pre-release-5.1.0 Jan 12, 2026
5 checks passed
@0x0013 0x0013 deleted the update-ginkgo-v2 branch January 12, 2026 16:11
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.

3 participants