mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-09 09:34:49 +09:00
Rename mention to master branch to main (#48824)
This commit is contained in:
parent
79ae74f5ca
commit
3553284bea
122 changed files with 230 additions and 230 deletions
|
@ -33,7 +33,7 @@ public class HttpWebRequestTest
|
|||
```
|
||||
|
||||
# LoopbackServer
|
||||
When writing network related tests we try to avoid running tests against a remote endpoint if possible. We provide simple APIs to create a LoopbackServer and send responses. A high number of scenarios can be tested with it. For additional information see https://github.com/dotnet/runtime/blob/master/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs
|
||||
When writing network related tests we try to avoid running tests against a remote endpoint if possible. We provide simple APIs to create a LoopbackServer and send responses. A high number of scenarios can be tested with it. For additional information see https://github.com/dotnet/runtime/blob/main/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs
|
||||
|
||||
Example (skipping additional usings and class scoping):
|
||||
```cs
|
||||
|
@ -65,7 +65,7 @@ This doesn't mean that you should mark every test which executes against a remot
|
|||
|
||||
# Relay Server
|
||||
For network related tests which needs to contact a remote endpoint instead of a LoopbackServer, you can use our Relay Servers. We invest in Infrastructure to provide these "safe" remote endpoints.
|
||||
For more information see https://github.com/dotnet/runtime/blob/master/src/libraries/Common/tests/System/Net/Configuration.Http.cs
|
||||
For more information see https://github.com/dotnet/runtime/blob/main/src/libraries/Common/tests/System/Net/Configuration.Http.cs
|
||||
|
||||
Example:
|
||||
```cs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue