You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILDGUIDE.md
+47Lines changed: 47 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,53 @@ Manual Tests require the below setup to run:
57
57
|IsManagedInstance | (Optional) When set to `true`**TVP** related tests will use non-Azure bsl files to compare test results. This is needed when testing against Azure Managed Instances; otherwise TVP Tests will fail on TestSet 3. The default value is `false`. |
58
58
|PowerShellPath | The full path to PowerShell.exe. This is not required if the path is present in the PATH environment variable. |`D:\\escaped\\absolute\\path\\to\\PowerShell.exe`|
59
59
60
+
## Test Configuration Environment Variables
61
+
62
+
Environment variables can be used to override test configuration without modifying `config.json`
63
+
files directly. This is useful when running tests via the command line, in CI/CD pipelines,
64
+
containerized environments, or when switching between configurations frequently.
65
+
66
+
### Main Test Suite (`Microsoft.Data.SqlClient.TestUtilities`)
67
+
68
+
These variables apply to unit, functional, and manual tests. The configuration is defined in
|`RUNNER_CONFIG`| Override the path to the `runnerconfig.json` file used by performance benchmarks. |`runnerconfig.json` (in the DLL output directory) |
92
+
93
+
See [Run Performance Tests](#run-performance-tests) for more details.
94
+
95
+
### Azure Extension Tests
96
+
97
+
These variables apply to the Azure extension test suite. The configuration is defined in
|`TEST_MDS_CONFIG`| Override the path to the `config.json` file used by Azure extension tests. |`config.json`|
103
+
|`ADO_POOL`| Set to any value to indicate tests are running in an Azure DevOps CI pool. |_(unset)_|
104
+
|`SYSTEM_ACCESSTOKEN`| Azure Pipelines system access token, used for workload identity federation tests. |_(unset)_|
105
+
|`TEST_DEBUG_EMIT`| Set to any value to enable debug output of configuration values during test startup. Sensitive values are Base64-encoded. |_(unset)_|
0 commit comments