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

Service API mocking #11

Open
ancientjpeg opened this issue Mar 24, 2024 · 0 comments
Open

Service API mocking #11

ancientjpeg opened this issue Mar 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ancientjpeg
Copy link
Owner

Would be fantastic to create API mocks for all the services we use so that we can easily run tests. There's two ways I can see of doing this:

  1. Create full, mocked webservers and just hotswap in the base API url. This is a lot of extra code but very easy to drop in to place.
  2. Heavily refactor the service base in order to pytest-mock. This will be tough, but if implemented well will end up being much more flexible and require less additional code to sit around in the codebase.
@ancientjpeg ancientjpeg added the enhancement New feature or request label Mar 24, 2024
@ancientjpeg ancientjpeg self-assigned this Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant