winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

TEST.md (1168B)


      1 ## Testing overrides
      2 
      3 Some test behaviors are controlled by test overrides set via environment variables.
      4 They only work when the CMake Option `SFS_ENABLE_TEST_OVERRIDES` is set to `ON`.
      5 To enable that during build, you must use the switch `-EnableTestOverrides` (`--enable-test-overrides` on Linux) with the build scripts. Click [here](README.md#building) for more. See also [here](README.md#building-with-cmake-vscode-extension) for how to set when using VSCode.
      6 
      7 When the test overrides are enabled, a few environment variables can be used to adjust the behavior of the tool:
      8 
      9 | Environment Variable                          | Description                                                                                 |
     10 |-----------------------------------------------|---------------------------------------------------------------------------------------------|
     11 | SFS_TEST_BASE_RETRY_DELAY_MS                  | Set this to override the base retry delay of 15s.                                           |
     12 | SFS_TEST_OVERRIDE_BASE_URL                    | Set this to any string value which will be used as the SFS URL rather than the default one. |