Skip to content

Commit c341474

Browse files
authored
Document using standalone test proxy (Azure#20417)
1 parent 0e71c85 commit c341474

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

documentation/developer_setup.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ Testing is built into the Go toolchain as well with the `testing` library. The t
135135
| playback | `$ENV:AZURE_RECORD_MODE="playback"` | Running tests against recording HTTP interactiosn |
136136
| live | `$ENV:AZURE_RECORD_MODE="live"` | Bypassing test proxy, running against live service, and not recording HTTP interactions (used by live pipelines) |
137137

138-
To get started first install [`docker`][get_docker]. Then to start the proxy, from the root of the repository, run the command `./eng/common/testproxy/docker-start-proxy.ps1 start`. This command will take care of pulling the pinned docker image and running it in the background.
139-
140-
It is not required to run the test-proxy from within the docker container, but this is how the proxy is run in the Azure DevOps pipelines. If you would like to run the test-proxy in a different manner the [documentation][test_proxy_docs] has more information.
138+
To get started first [install test-proxy][test_proxy_install] via the standalone executable. Then to start the proxy, from the root of the repository, run the command `test-proxy start`.
141139

142140
### Test Mode Options
143141

@@ -367,6 +365,7 @@ This creates the pipelines that will verify future PRs. The `azure-sdk-for-go` i
367365
[go_download]: https://golang.org/dl/
368366
[require_package]: https://pkg.go.dev/github.com/stretchr/testify/require
369367
[test_proxy_docs]: https://github.com/Azure/azure-sdk-tools/tree/main/tools/test-proxy
368+
[test_proxy_install]: https://github.com/Azure/azure-sdk-tools/blob/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md#via-standalone-executable
370369
[workspace_setup]: https://www.digitalocean.com/community/tutorials/how-to-install-go-and-set-up-a-local-programming-environment-on-windows-10
371370
[directory_structure]: https://azure.github.io/azure-sdk/golang_introduction.html
372371
[module_design]: https://azure.github.io/azure-sdk/golang_introduction.html#azure-sdk-module-design

0 commit comments

Comments
 (0)