Skip to content

Conversation

@aryan-25
Copy link
Collaborator

Motivation:

Currently, we have no tests for the reader, writer, and sender types.

Modifications:

Added some basic tests for those types.

Result:

Increased test coverage.

import Testing

@Suite
struct HTTPResponseConcludingAsyncWriterTests {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a test where we throw in the produceAndConclude closure?

import Testing

@Suite
struct HTTPRequestConcludingAsyncReaderTests {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a test where we throw in the read closure?

@aryan-25 aryan-25 merged commit 4431697 into swift-server:main Dec 16, 2025
4 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants