Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sink mock in tokio_test #7168

Open
barafael opened this issue Feb 21, 2025 · 0 comments
Open

Sink mock in tokio_test #7168

barafael opened this issue Feb 21, 2025 · 0 comments
Labels
A-tokio-test Area: The tokio-test crate C-feature-request Category: A feature request.

Comments

@barafael
Copy link
Contributor

barafael commented Feb 21, 2025

Problem Description

I'm happily using the StreamMock from tokio_test. However, a corresponding Sink mock is missing.

Suggestion

I'd like to have an easy-to-setup Sink type as a mock.

Alternatives

I am not aware of simple alternatives.

Context

I would consider attempting to implement the sink mock.

@barafael barafael added A-tokio Area: The main tokio crate C-feature-request Category: A feature request. labels Feb 21, 2025
@maminrayej maminrayej added A-tokio-test Area: The tokio-test crate and removed A-tokio Area: The main tokio crate labels Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio-test Area: The tokio-test crate C-feature-request Category: A feature request.
Projects
None yet
Development

No branches or pull requests

2 participants