Back to Winget Cli

TEST

src/SfsClient/sfs-client/TEST.md

1.28.2401.1 KB
Original Source

Testing overrides

Some test behaviors are controlled by test overrides set via environment variables. They only work when the CMake Option SFS_ENABLE_TEST_OVERRIDES is set to ON. To enable that during build, you must use the switch -EnableTestOverrides (--enable-test-overrides on Linux) with the build scripts. Click here for more. See also here for how to set when using VSCode.

When the test overrides are enabled, a few environment variables can be used to adjust the behavior of the tool:

Environment VariableDescription
SFS_TEST_BASE_RETRY_DELAY_MSSet this to override the base retry delay of 15s.
SFS_TEST_OVERRIDE_BASE_URLSet this to any string value which will be used as the SFS URL rather than the default one.