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

Sofar backend should directly support integration tests with mock test resources #11

Open
evanShap opened this issue Jul 22, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@evanShap
Copy link
Collaborator

Currently, developers must manually modify test code to reference a particular Spotter and expectations. Sofar should expose mock resources via testing API token(s) with known responses. The benefits would be:

  • Can run tests without modifying test code and referencing bespoke resources =>
    • Can repeat test results between devs
    • Enables automated CI/CD
  • Can increase specificity of integration test expectations. Currently the expectations are fairly generic, asserting a field exists, or a response does not err. With fixed and known data responses, we could enforce schema expectations, performance guardrails, regression protection against backend changes, etc.
@evanShap evanShap added the enhancement New feature or request label Jul 22, 2021
@evanShap evanShap self-assigned this Jul 22, 2021
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