buildtestenv

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package buildtestenv provides the environment variables used by testing and build tools. These are generally not used in the core code, but allows the build tooling to pass information to the code under test more easily.

Index

Constants

View Source
const (
	// TestingAzldevBinPathEnvVar is the path the scenario tests use to find the azldev binary. If this is not set,
	// the tests will look for the azldev binary in the $PATH. This is set by the magefiles when running the tests.
	TestingAzldevBinPathEnvVar = "TESTING_AZLDEV_BIN_PATH"

	// TestingDisableNetworkTestsEnvVar will cause all scenario tests that require network access to be skipped.
	TestingDisableNetworkTestsEnvVar = "TESTING_DISABLE_NETWORK_TESTS"

	// TestingUpdateSnapshotsEnvVar is the environment variable that causes snapshots to be updated.
	TestingUpdateSnapshotsEnvVar = "UPDATE_SNAPS"

	// TestingUpdateSnapshotsEnvValue is the value that the TestingUpdateSnapshotsEnvVar should be set to in order to
	// update snapshots.
	TestingUpdateSnapshotsEnvValue = "true"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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