parser

package
v0.0.0-...-764c78a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RunningIntegrationTests = false

RunningIntegrationTests indicates whether the tests will be run as "unit" or "integration" tests.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	CreateDb    bool
	Integration bool
}

Flags holds the flags to control what the tests should be doing.

func ParseFlags

func ParseFlags() Flags

ParseFlags parses the flags for the "go test" command. The "-createdb" indicates that a test database should be created, whilst the "-integration" flag indicates that integration tests should be run along with the unit tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL