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

Unit test for hosting #12

Open
sachalevy opened this issue May 28, 2022 · 0 comments
Open

Unit test for hosting #12

sachalevy opened this issue May 28, 2022 · 0 comments
Labels
test Testing related matters

Comments

@sachalevy
Copy link
Member

sachalevy commented May 28, 2022

We need to implement some unit tests for hosting requests posted by the user. Similar to #10, where mock HTTP streaming requests are required, we need to simulate a server response upon publishing a get request at a given producer channel. The tests should include verifying that the method handles ill-formed queries, fails gracefully, as well as can successfully process well-formed queries.

Note that here, in addition to mocking the HTTP streaming request, we'll need to mock the query posting request on result successful result retrieval from the pipeline.

@sachalevy sachalevy added the test Testing related matters label May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Testing related matters
Projects
None yet
Development

No branches or pull requests

1 participant