swift-nio/Sources/NIOEmbedded
Cory Benfield f5448fbbc2
Provide NIOAsyncTestingChannel (#2238)
Motivation

Testing versions of NIO code that involve interfacing with Swift
Concurrency is currently a difficult business. In particular,
EmbeddedChannel is not available in Swift concurrency, making it
difficult to write tests where you fully control the I/O.

To that end, we should provide a variation of EmbeddedChannel that makes
testing these things possible.

Modifications

Provide an implementation of NIOAsyncTestingChannel.

Results

Users can write tests confidently with async/await.
2022-08-10 11:09:56 +01:00
..
AsyncTestingChannel.swift Provide NIOAsyncTestingChannel (#2238) 2022-08-10 11:09:56 +01:00
AsyncTestingEventLoop.swift Enhance and rename AsyncEmbeddedEventLoop (#2224) 2022-07-27 08:03:06 +01:00
Embedded.swift Provide NIOAsyncTestingChannel (#2238) 2022-08-10 11:09:56 +01:00