Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Recorder][Asset Sync] Inspecting updates to the recordings in VS Code #25619

Merged
merged 1 commit into from
Apr 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions sdk/test-utils/recorder/ASSET_SYNC_MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,21 @@ There is an [open issue](https://github.com/Azure/azure-sdk-tools/issues/4652) t

For more information on this topic, see the [asset sync reference documentation][asset-sync-reference].

### Through VS Code [GIT Source Control](https://code.visualstudio.com/docs/sourcecontrol/overview) UI
Copy link
Member Author

@HarshaNalluru HarshaNalluru Apr 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the .md view to view the screenshots
image


Suppose you want to update the recording for a test, you'll re-run the test like below.

<img width="779" alt="image" src="https://user-images.githubusercontent.com/10452642/233708630-0a50c185-dde7-4e6d-8977-2a49a1211ac9.png">

The changes in the recordings can be seen in the GIT Source Control section in VS Code.

(Installing GIT should be enough to get this view. [VS Code Source control overview](https://code.visualstudio.com/docs/sourcecontrol/overview))

Click the file on the left side to view the diff for it on the right side as shown below.

<img width="1126" alt="image" src="https://user-images.githubusercontent.com/10452642/233709272-18ce109d-8f7a-488c-b5cb-74cf3636c1dc.png">


## Other `test-proxy` commands

A few commands have been added to `dev-tool` to facilitate pushing and fetching the recordings to and from your local:
Expand Down