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: doc/dev/tests.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -378,6 +378,17 @@ to the process of updating recordings.
378
378
379
379
#### Update test recordings
380
380
381
+
##### Environment prerequisites
382
+
383
+
- The targeted library is already migrated to use the test proxy.
384
+
- Git version > 2.25.0 is to on the machine and in the path. Git is used by the script and test proxy.
385
+
-[Docker][docker_install] or [Podman][podman] is installed.
386
+
- Global [git config settings][git_setup] are configured for `user.name` and `user.email`.
387
+
- These settings are also set with environment variables `GIT_COMMIT_OWNER` and `GIT_COMMIT_EMAIL`, respectively (in your environment or your local `.env` file).
388
+
- The environment variable `GIT_TOKEN` is set to a valid [personal access token][git_token] for your user (in your environment or your local `.env` file).
389
+
- This token is necessary for authenticating git requests made in a Docker/Podman container.
390
+
- Membership in the `azure-sdk-write` GitHub group.
391
+
381
392
Test recordings will be updated if tests are run while `AZURE_TEST_RUN_LIVE` is set to "true" and
382
393
`AZURE_SKIP_LIVE_RECORDING` is unset or "false". Since the recordings themselves are no longer in the
383
394
`azure-sdk-for-python` repo, though, these updates will be reflected in a git-excluded `.assets` folder at the root of
@@ -709,6 +720,8 @@ Tests that use the Shared Access Signature (SAS) to authenticate a client should
0 commit comments