ginkgo(1)

ginkgo1

The ginkgo cli compiler

Usage

ginkgo

ginkgo flags packages -- pass-throughs

ginkgo

ginkgo COMMAND options

Overview

Ginkgo is a BDD-style Golang testing framework built to help you efficiently write expressive and comprehensive tests.

This page documents the ginkgo CLI, which offers a number of conveniences beyond what go test provides out of the box and its usage is recommended, but not necessary.

Options

ginkgo or ginkgo run flags packages -- pass-throughs

Run the tests in packages (or the package in the current directory).

Any arguments after -- will be passed to the test. Run ginkgo help run for a description of all valid flags.

ginkgo watch flags packages -- pass-throughs

Watches the files in packages and re-runs tests when changes occur.

ginkgo bootstrap flags

Bootstrap a test suite for the current package

ginkgo generate filenames

Generate a test file named filename_test.go

If the optional filenames argument is omitted, a file named after the package in the current directory will be created.

ginkgo labels flags packages

List labels detected in the passed-in packages (or the package in the current directory).

ginkgo outline filename

Create an outline of Ginkgo symbols for a file.

ginkgo unfocus

Recursively unfocuses any focused tests under the current directory

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9–12
  2. 13

Author

ginkgo was written by Onsi Fakhouri.

This man page was written by Martín Ferrari for the Debian project.

From ginkgo 2.22.0-1+b6 in Debian 13 (Trixie). Parsed by carta from the page's man source.