GINKGO(1)
β¨ NAME β¨
ginkgo β the ginkgo CLI compiler π (it lives in the General Commands Manual, section 1, iykyk)
πΈ SYNOPSIS πΈ
ginkgo flags packages -- pass-throughs
ginkgo COMMAND options
π¦ DESCRIPTION π¦
Okay bestie, so Ginkgo is a BDD-style Golang testing framework, and it exists to help you write tests that are expressive and comprehensive without losing your whole entire mind. It's giving "tests but make them cute." β¨
This page is all about the ginkgo CLI, which comes with a bunch of conveniences on top of what go test gives you right out of the box. Using it is recommended... but not, like, necessary. No pressure. Do what feels right. π«Ά
π OPTIONS π
ginkgoorginkgo runflags packages--pass-throughs β Run the tests in packages (or the package in the current directory).
Any arguments after -- get passed straight through to the test. And if you want the full rundown of every valid flag, just run ginkgo help run. π
ginkgo watchflags packages--pass-throughs β Watches the files in packages and re-runs your tests whenever changes happen. It's the "not me refreshing manually every five seconds" option. πginkgo bootstrapflags β Bootstrap a test suite for the current package. Main character energy for your test setup. πginkgo generatefilenames β Generate a test file namedfilename_test.go.
If the optional filenames argument is omitted, a file named after the package in the current directory will be created. Slay, it just does it for you. β¨
ginkgo labelsflags packages β List labels detected in the passed-in packages (or the package in the current directory). Vibe check on your labels fr fr. π·οΈginkgo outlinefilename β Create an outline of Ginkgo symbols for a file. Literally a little map of your Ginkgo situation. πΊοΈginkgo unfocusβ Recursively unfocuses any focused tests under the current directory. Yes queen, clean up that focus. π§
Heads up bestie: this page only covers these commands at a high level β the flags belong to each subcommand, so peek at ginkgo help run for the full flag list. π«Ά
π AUTHOR π
ginkgo was written by Onsi Fakhouri.
This man page was written by MartΓn Ferrari for the Debian project. π
Okay that's the whole thing, bestie β this was ginkgo from the General Commands Manual, source/version ginkgo, dated Aug 2023. Periodt. π ππ¦
π¦ where this page comes from
- debian trixie: ginkgo 2.22.0-1+b6 Β· MIT
- ubuntu noble: ginkgo 2.15.0-1 Β· MIT
- ubuntu noble: ginkgo 2.15.0-1ubuntu0.24.04.3 Β· MIT
- ubuntu questing: ginkgo 2.22.0-1
- ubuntu resolute: ginkgo 2.28.1-1 Β· MIT
- ubuntu stonking: ginkgo 2.28.1-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms