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

Convert REST tests to use mocks #1305

Open
qstokkink opened this issue Jun 26, 2024 · 0 comments
Open

Convert REST tests to use mocks #1305

qstokkink opened this issue Jun 26, 2024 · 0 comments
Labels
priority: low Should be addressed at some point in the future

Comments

@qstokkink
Copy link
Collaborator

Currently, the IPv8 REST API tests launch a web server for each unit test. This takes in the order of seconds per unit test.

These tests can be sped up to the order of milliseconds by feeding mocked requests into their appropriate REST handler methods directly.

@qstokkink qstokkink added the priority: low Should be addressed at some point in the future label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low Should be addressed at some point in the future
Development

No branches or pull requests

1 participant