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
Trio provides facilities for testing via trio.testing
It seems these would come in useful here, as a way to extensively test a user's custom protocols, in an efficient way, without doing any actual system call.
For example, one could want to test a protocol over a memory_stream_pair transport (my current use-case)
As for what the API could look like, I don't have a clear picture just yet. The intention is simply to provide a similar abstraction of a 'listener'/'server' "running", while a 'client' attempts to connect to it.
The client and the server will likely just be 2 coroutines communicating over a memory transport...
The text was updated successfully, but these errors were encountered:
Trio provides facilities for testing via
trio.testing
It seems these would come in useful here, as a way to extensively test a user's custom protocols, in an efficient way, without doing any actual system call.
For example, one could want to test a protocol over a
memory_stream_pair
transport (my current use-case)As for what the API could look like, I don't have a clear picture just yet. The intention is simply to provide a similar abstraction of a 'listener'/'server' "running", while a 'client' attempts to connect to it.
The client and the server will likely just be 2 coroutines communicating over a memory transport...
The text was updated successfully, but these errors were encountered: