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.
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: