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 ¶
const EnvPrefix = "TEST_CLI_"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.