-
Notifications
You must be signed in to change notification settings - Fork 248
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, a lot of issues from osv.dev's API is being picked up by osv-scanner's end to end tests causing snapshot changes. This is not ideal from both osv-scanner and osv.dev's perspective.
We want to implement an API snapshot test utility1 which can take a yaml config file (or a DSL if it's easier to maintain) containing requests (body, headers, and endpoint), and generate snapshots of the responses (with verbose pieces stripped out 2), and diffs when the snapshots are different)
After we have this utility, we can set up a snapshot bot similar to what currently exists in osv-scanner. (Though we might have some trouble with google cloud credentials, we'll figure that out when we get there).
Footnotes
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request