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

mock support #2

Open
yoshuawuyts opened this issue Nov 19, 2019 · 0 comments
Open

mock support #2

yoshuawuyts opened this issue Nov 19, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@yoshuawuyts
Copy link
Member

For testing Surf it'd be great if we could create a mock backend to automatically handle http responses. We could in turn for example use tide with the mock frontend to create mock responses.

The benefit of this is that unit tests should become really fast, and we can provide extra methods to assert values, as seen in http-rs/tide#273. Thanks!

@yoshuawuyts yoshuawuyts added the enhancement New feature or request label Nov 19, 2019
@yoshuawuyts yoshuawuyts added the help wanted Extra attention is needed label Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant