Glossary entry (derived from question below)
English term or phrase:
real (underlying) transports
Russian translation:
целевой (лежащий в основе работы (продукта)) протокол обмена сообщениями
Added to glossary by
Andrew Tishin
Dec 31, 2022 12:36
1 yr ago
9 viewers *
English term
real (underlying) transports
English to Russian
Tech/Engineering
Computers: Software
Google Go
https://google.github.io/styleguide/go/best-practices
Use **real transports**
When testing component integrations, especially where HTTP or RPC are used as the underlying transport between the components, prefer using the **real underlying transport** to connect to the test version of the backend.
For example, suppose the code you want to test (sometimes referred to as “system under test” or SUT) interacts with a backend that implements the long running operations API. To test your SUT, use a real OperationsClient that is connected to a test double (e.g., a mock, stub, or fake) of the OperationsServer.
This is recommended over hand-implementing the client, due to the complexity of imitating client behavior correctly. By using the production client with a test-specific server, you ensure your test is using as much of the real code as possible.
Tip: Where possible, use a testing library provided by the authors of the service under test.
Use **real transports**
When testing component integrations, especially where HTTP or RPC are used as the underlying transport between the components, prefer using the **real underlying transport** to connect to the test version of the backend.
For example, suppose the code you want to test (sometimes referred to as “system under test” or SUT) interacts with a backend that implements the long running operations API. To test your SUT, use a real OperationsClient that is connected to a test double (e.g., a mock, stub, or fake) of the OperationsServer.
This is recommended over hand-implementing the client, due to the complexity of imitating client behavior correctly. By using the production client with a test-specific server, you ensure your test is using as much of the real code as possible.
Tip: Where possible, use a testing library provided by the authors of the service under test.
Proposed translations
(Russian)
3 +1 | целевой (лежащий в основе работы (продукта)) протокол обмена сообщениями | Mikhail Zavidin |
Proposed translations
+1
1 hr
Selected
целевой (лежащий в основе работы (продукта)) протокол обмена сообщениями
+
4 KudoZ points awarded for this answer.
Comment: "Спасибо большое!"
Something went wrong...