tests

package
v0.0.0-...-46775db Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package tests contains integration tests, which run the CLI as a shell command and verify its output.

A TEST_CLI_PATH environment variable can be provided to override the path to a CLI executable. It defaults to a built binary in the dist/ directory.

Tests run in directories under INTEGRATION_TESTS_TMPDIR, which defaults to a subdirectory of the user cache directory. It must not be inside a Git repository.

If INTEGRATION_TESTS_ARGS_LOG is set, the arguments of each command are appended to that file, as a JSON array per line, for the command coverage report (scripts/coverage-report).

Index

Constants

View Source
const EnvPrefix = "TEST_CLI_"

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