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 Mesos Server for testing #22

Open
chetanmeh opened this issue Jul 17, 2018 · 1 comment
Open

Mock Mesos Server for testing #22

chetanmeh opened this issue Jul 17, 2018 · 1 comment

Comments

@chetanmeh
Copy link
Contributor

Current implementation is decoupled from HTTP semantics and hence makes it possible to have test coverage for offer handling logic. However it would be nice to have a mock server which can enable testing of HTTP parts.

This can be implemented as a simple Akka HTTP Server. For an example see MesosServerSimulation used in mesos rx-java.

@chetanmeh
Copy link
Contributor Author

Currently in our code while making HTTP calls we do not consume the response in error case and some other cases. So having HTTP test would be helpful here

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

No branches or pull requests

1 participant