Ginkgo v2's improvements are too numerous to mention here, especially the ability to GinkgoWriter.Println() so that we can demote a flaky performance test to merely output the current average lookup time (currently fails if < 2.5 milliseconds)
Flags:
extra -, camelCase → kebab-case, e.g. -keepGoing → --keep-going
-randomizeAllSpecs → --randomize-all "If set, ginkgo will randomize all specs together. By default, ginkgo only randomizes the top level Describe, Context and When containers."
/extensions/table is no longer a separate import
/config is no longer a separate import, uses GinkgoConfiguration(), e.g. config.GinkgoConfig.ParallelNode → GinkgoConfiguration()[0].ParallelProcess
Async Testing has been removed. In health_watcher_test.go, using async was unnecessary because we were already making asynchronous assertions (Eventually()).
Ginkgo v2's improvements are too numerous to mention here, especially the ability to
GinkgoWriter.Println()
so that we can demote a flaky performance test to merely output the current average lookup time (currently fails if < 2.5 milliseconds)-
, camelCase → kebab-case, e.g.-keepGoing
→--keep-going
-randomizeAllSpecs
→--randomize-all
"If set, ginkgo will randomize all specs together. By default, ginkgo only randomizes the top level Describe, Context and When containers."/extensions/table
is no longer a separate import/config
is no longer a separate import, usesGinkgoConfiguration()
, e.g.config.GinkgoConfig.ParallelNode
→GinkgoConfiguration()[0].ParallelProcess
health_watcher_test.go
, using async was unnecessary because we were already making asynchronous assertions (Eventually()
).