Go test Command

From NovaOrdis Knowledge Base
Revision as of 22:49, 8 January 2024 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

Internal

Overview

The test command runs tests. The shared flags described here apply:

Shared Flags

For more details on testing, in general, see:

Go Testing

go test Execution Modes

The go test runs in two modes: local directory mode and package list mode.

Local Directory Mode

Package List Mode